conversion of properties should set owner as owner_id not owner
This commit is contained in:
parent
e5f108058f
commit
a2d0718c20
@ -902,7 +902,7 @@ class ImageCommands(object):
|
|||||||
'disk_format': disk_format,
|
'disk_format': disk_format,
|
||||||
'container_format': container_format,
|
'container_format': container_format,
|
||||||
'properties': {'image_state': 'available',
|
'properties': {'image_state': 'available',
|
||||||
'owner': owner,
|
'owner_id': owner,
|
||||||
'type': image_type,
|
'type': image_type,
|
||||||
'architecture': architecture,
|
'architecture': architecture,
|
||||||
'image_location': 'local',
|
'image_location': 'local',
|
||||||
@ -980,7 +980,7 @@ class ImageCommands(object):
|
|||||||
'is_public': True,
|
'is_public': True,
|
||||||
'name': old['imageId'],
|
'name': old['imageId'],
|
||||||
'properties': {'image_state': old['imageState'],
|
'properties': {'image_state': old['imageState'],
|
||||||
'owner': old['imageOwnerId'],
|
'owner_id': old['imageOwnerId'],
|
||||||
'architecture': old['architecture'],
|
'architecture': old['architecture'],
|
||||||
'type': old['type'],
|
'type': old['type'],
|
||||||
'image_location': old['imageLocation'],
|
'image_location': old['imageLocation'],
|
||||||
|
Loading…
Reference in New Issue
Block a user