Skip to content

Commit d363068

Browse files
committed
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
1 parent c390d89 commit d363068

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎openstackclient/image/v1/image.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ def take_action(self, parsed_args):
190190
kwargs = {}
191191
copy_attrs = ('name', 'id', 'store', 'container_format',
192192
'disk_format', 'owner', 'size', 'min_disk', 'min_ram',
193-
'localtion', 'copy_from', 'volume', 'force',
193+
'location', 'copy_from', 'volume', 'force',
194194
'checksum', 'properties')
195195
for attr in copy_attrs:
196196
if attr in parsed_args:

0 commit comments

Comments
 (0)