summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVishvananda Ishaya <vishvananda@gmail.com>2011-03-29 15:37:32 -0700
committerVishvananda Ishaya <vishvananda@gmail.com>2011-03-29 15:37:32 -0700
commita2d0718c20e45d39e3f2d46edb715a064f650e81 (patch)
tree25f6c0ba047a34443a7d20d4d491c4b5dadeb742
parente5f108058f9b085571330dff3c3e3e3e57d2e5ed (diff)
conversion of properties should set owner as owner_id not owner
-rwxr-xr-xbin/nova-manage4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/nova-manage b/bin/nova-manage
index 25695482f..6789efba8 100755
--- a/bin/nova-manage
+++ b/bin/nova-manage
@@ -902,7 +902,7 @@ class ImageCommands(object):
'disk_format': disk_format,
'container_format': container_format,
'properties': {'image_state': 'available',
- 'owner': owner,
+ 'owner_id': owner,
'type': image_type,
'architecture': architecture,
'image_location': 'local',
@@ -980,7 +980,7 @@ class ImageCommands(object):
'is_public': True,
'name': old['imageId'],
'properties': {'image_state': old['imageState'],
- 'owner': old['imageOwnerId'],
+ 'owner_id': old['imageOwnerId'],
'architecture': old['architecture'],
'type': old['type'],
'image_location': old['imageLocation'],