diff options
| author | Marek Aufart <maufart@redhat.com> | 2015-04-17 14:20:37 +0200 |
|---|---|---|
| committer | Marek Aufart <maufart@redhat.com> | 2015-04-17 14:20:37 +0200 |
| commit | d363068617ea37cf17583c390df69f3bbe7ff45c (patch) | |
| tree | 981b5e6aa8071be766d20760848fa98a111f9066 /openstackclient | |
| parent | c390d8990023a6078b7bfb98de650f84d4089179 (diff) | |
| download | python-openstackclient-d363068617ea37cf17583c390df69f3bbe7ff45c.tar.gz | |
Fix skipped image create attribute location attr
Image create action accepts attribute called location,
in method body is list of allowed attributes, which contain
localtion, what is typo and this attribute was not passed to
glance. Fixed.
Change-Id: I357b06b63b8aa97f7a5f587ef3fcee7a4b360ed1
Closes-Bug: #1445460
Diffstat (limited to 'openstackclient')
| -rw-r--r-- | openstackclient/image/v1/image.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openstackclient/image/v1/image.py b/openstackclient/image/v1/image.py index 127a7735..a60afaf4 100644 --- a/openstackclient/image/v1/image.py +++ b/openstackclient/image/v1/image.py @@ -190,7 +190,7 @@ class CreateImage(show.ShowOne): kwargs = {} copy_attrs = ('name', 'id', 'store', 'container_format', 'disk_format', 'owner', 'size', 'min_disk', 'min_ram', - 'localtion', 'copy_from', 'volume', 'force', + 'location', 'copy_from', 'volume', 'force', 'checksum', 'properties') for attr in copy_attrs: if attr in parsed_args: |
