We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03aa172 commit 125133dCopy full SHA for 125133d
openstackclient/volume/v3/volume.py
@@ -339,7 +339,21 @@ def take_action(self, parsed_args):
339
metadata=parsed_args.properties,
340
bootable=parsed_args.bootable,
341
)
342
- return zip(*sorted(volume.items()))
+ data = {}
343
+ for key, value in volume.to_dict().items():
344
+ # FIXME(stephenfin): Stop ignoring these once we bump SDK
345
+ # https://review.opendev.org/c/openstack/openstacksdk/+/945836/
346
+ if key in (
347
+ 'cluster_name',
348
+ 'consumes_quota',
349
+ 'encryption_key_id',
350
+ 'service_uuid',
351
+ 'shared_targets',
352
+ 'volume_type_id',
353
+ ):
354
+ continue
355
+ data[key] = value
356
+ return zip(*sorted(data.items()))
357
358
source_volume = None
359
if parsed_args.source:
0 commit comments