ESCALATOR-42 Get available version list
[escalator.git] / client / escalatorclient / v1 / shell.py
index 9f9ea4f..fbc2459 100644 (file)
@@ -17,10 +17,6 @@ from __future__ import print_function
 
 import copy
 import functools
-import pprint
-import os
-import json
-
 from oslo_utils import encodeutils
 from oslo_utils import strutils
 import escalatorclient.v1.versions
@@ -153,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]