diff options
| author | Jenkins <jenkins@review.openstack.org> | 2016-03-09 17:16:22 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2016-03-09 17:16:23 +0000 |
| commit | baf26067c0de9504d0a284f370a05b5458c056ca (patch) | |
| tree | 9668acff65bc4450ff5e6d2fb861d74ae40c1219 | |
| parent | 57acbf2ade016cd7b678db6689c4b572499e121c (diff) | |
| parent | 9070b2c210e4a0a84c911988218640587953af6d (diff) | |
| download | python-glanceclient-baf26067c0de9504d0a284f370a05b5458c056ca.tar.gz | |
Merge "Remove self from image-create/image-update" into stable/liberty
| -rw-r--r-- | glanceclient/v2/shell.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/glanceclient/v2/shell.py b/glanceclient/v2/shell.py index 08271e0..86a1f3d 100644 --- a/glanceclient/v2/shell.py +++ b/glanceclient/v2/shell.py @@ -46,7 +46,7 @@ def get_image_schema(): @utils.schema_args(get_image_schema, omit=['created_at', 'updated_at', 'file', 'checksum', 'virtual_size', 'size', 'status', 'schema', 'direct_url', - 'locations']) + 'locations', 'self']) @utils.arg('--property', metavar="<key=value>", action='append', default=[], help=('Arbitrary property to associate with image.' ' May be used multiple times.')) @@ -90,7 +90,8 @@ def do_image_create(gc, args): @utils.schema_args(get_image_schema, omit=['id', 'locations', 'created_at', 'updated_at', 'file', 'checksum', 'virtual_size', 'size', 'status', - 'schema', 'direct_url', 'tags']) + 'schema', 'direct_url', 'tags', + 'self']) @utils.arg('--property', metavar="<key=value>", action='append', default=[], help=('Arbitrary property to associate with image.' ' May be used multiple times.')) |
