Change in ovirt-engine-sdk[sdk_4.1]: Use 'initial_size' when creating disk for upload

Code Review gerrit at ovirt.org
Tue Feb 28 09:24:17 UTC 2017


>From Ondra Machacek <omachace at redhat.com>:

Ondra Machacek has submitted this change and it was merged.

Change subject: Use 'initial_size' when creating disk for upload
......................................................................


Use 'initial_size' when creating disk for upload

This patch changes the example that shows how to upload a disk so that
it uses explicitly uses the 'initial_size' attribute, as otherwise the
upload will eventually fail.

Change-Id: Iae939ab1c4fcafed358b7be535b477b36f5bd5a7
Related-To: https://bugzilla.redhat.com/1425572
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
(cherry picked from commit 3f9c8e9f827f9fc79d0397b1532f500762fe090f)
---
M sdk/examples/upload_disk.py
1 file changed, 22 insertions(+), 10 deletions(-)

Approvals:
  Ondra Machacek: Verified; Looks good to me, approved
  Jenkins CI: Passed CI tests



-- 
To view, visit https://gerrit.ovirt.org/73199
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Iae939ab1c4fcafed358b7be535b477b36f5bd5a7
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine-sdk
Gerrit-Branch: sdk_4.1
Gerrit-Owner: Ondra Machacek <omachace at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Ondra Machacek <omachace at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>


More information about the Engine-commits mailing list