Skip to content

Commit 1c70e26

Browse files
author
hongp
committed
bug fix volume group show command.
There is no "show" function in the "group" class of python-cinderclient. Instead, there is a "get" function, so I fixed it. https://opendev.org/openstack/python-cinderclient/src/commit/0125495f92ecd0248a204974a96b7403dc160fbe/cinderclient/v3/groups.py#L134 Closes-Bug: #2111539 Change-Id: If61d8cf115c9ff04d172d7344565e693774e7a21
1 parent 88b59d8 commit 1c70e26

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

openstackclient/volume/v3/volume_group.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ def take_action(self, parsed_args):
552552
parsed_args.group,
553553
)
554554

555-
group = volume_client.groups.show(group.id, **kwargs)
555+
group = volume_client.groups.get(group.id, **kwargs)
556556

557557
if parsed_args.show_replication_targets:
558558
replication_targets = (

0 commit comments

Comments
 (0)