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
This commit is contained in:
parent
c390d89900
commit
d363068617
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user