diff options
Diffstat (limited to 'cinderclient/shell_utils.py')
-rw-r--r-- | cinderclient/shell_utils.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cinderclient/shell_utils.py b/cinderclient/shell_utils.py index e386558..7bd96e5 100644 --- a/cinderclient/shell_utils.py +++ b/cinderclient/shell_utils.py @@ -85,9 +85,10 @@ def find_consistencygroup(cs, consistencygroup): return utils.find_resource(cs.consistencygroups, consistencygroup) -def find_group(cs, group): +def find_group(cs, group, **kwargs): """Gets a group by name or ID.""" - return utils.find_resource(cs.groups, group) + kwargs['is_group'] = True + return utils.find_resource(cs.groups, group, **kwargs) def find_cgsnapshot(cs, cgsnapshot): |