diff options
| author | Vishvananda Ishaya <vishvananda@gmail.com> | 2011-03-30 15:02:55 +0000 |
|---|---|---|
| committer | Tarmac <> | 2011-03-30 15:02:55 +0000 |
| commit | 0e17f86bc315322d5221f2b6fec205bcb656c474 (patch) | |
| tree | 3bf7254e1a03fe1dd8c8c1cc5b56da04a7cfe20b | |
| parent | 2c71deadc3ee9327cd9cd54771ef495d344aa7e9 (diff) | |
| parent | a2d0718c20e45d39e3f2d46edb715a064f650e81 (diff) | |
| download | nova-0e17f86bc315322d5221f2b6fec205bcb656c474.tar.gz nova-0e17f86bc315322d5221f2b6fec205bcb656c474.tar.xz nova-0e17f86bc315322d5221f2b6fec205bcb656c474.zip | |
Fixes metadata for ec2_api to specify owner_id so that it filters properly.
| -rwxr-xr-x | bin/nova-manage | 4 |
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'], |
