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:
Marek Aufart 2015-04-17 14:20:37 +02:00
parent c390d89900
commit d363068617
1 changed files with 1 additions and 1 deletions

View File

@ -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: