Skip to content

Commit 9720298

Browse files
Zuulopenstack-gerrit
Zuul
authored andcommitted
Merge "Honour all_tenants in consistency group list"
2 parents 9f8a5c7 + cf2c27c commit 9720298

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cinderclient/v3/shell_base.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1975,7 +1975,9 @@ def do_unmanage(cs, args):
19751975
help='Shows details for all tenants. Admin only.')
19761976
def do_consisgroup_list(cs, args):
19771977
"""Lists all consistency groups."""
1978-
consistencygroups = cs.consistencygroups.list()
1978+
search_opts = {'all_tenants': args.all_tenants}
1979+
1980+
consistencygroups = cs.consistencygroups.list(search_opts=search_opts)
19791981

19801982
columns = ['ID', 'Status', 'Name']
19811983
shell_utils.print_list(consistencygroups, columns)

0 commit comments

Comments
 (0)