summaryrefslogtreecommitdiffstats
path: root/client/escalatorclient/v1/shell.py
diff options
context:
space:
mode:
authorliguomin <li.guomin3@zte.com.cn>2017-01-23 15:20:36 +0800
committerli guomin <li.guomin3@zte.com.cn>2017-02-03 02:32:10 +0000
commit2cae5ac9c45eeecb496ef06d5d44ae8deec144b7 (patch)
tree2bcc8fe9f08701b9d6427883733585de1b8397af /client/escalatorclient/v1/shell.py
parentcb244708d646a1850ccf95808045794cdc955d85 (diff)
ESCALATOR-42 Get available version list
Change-Id: Ib1d0743b752ac81587ea6f8b7830b79abe09f8f0 Signed-off-by: liguomin <li.guomin3@zte.com.cn>
Diffstat (limited to 'client/escalatorclient/v1/shell.py')
-rw-r--r--client/escalatorclient/v1/shell.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/escalatorclient/v1/shell.py b/client/escalatorclient/v1/shell.py
index f926a8a..fbc2459 100644
--- a/client/escalatorclient/v1/shell.py
+++ b/client/escalatorclient/v1/shell.py
@@ -149,7 +149,7 @@ def do_version_delete(dc, args):
@utils.arg('--sort-dir', default='asc',
choices=escalatorclient.v1.versions.SORT_DIR_VALUES,
help='Sort version list in specified direction.')
-def do_version_list(dc, args):
+def do_cluster_version_list(dc, args):
"""List hosts you can access."""
filter_keys = ['name', 'type', 'status', 'version']
filter_items = [(key, getattr(args, key)) for key in filter_keys]