X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=client%2Fescalatorclient%2Fv1%2Fshell.py;h=fbc2459846341efc872e458c35848fedf156606a;hb=refs%2Fchanges%2F57%2F27357%2F5;hp=9f9ea4f0539a0b198a80c9c616f31112a67dc132;hpb=3f262284f3ce78ce23b4e3c8e9fed112fc56e37d;p=escalator.git diff --git a/client/escalatorclient/v1/shell.py b/client/escalatorclient/v1/shell.py index 9f9ea4f..fbc2459 100644 --- a/client/escalatorclient/v1/shell.py +++ b/client/escalatorclient/v1/shell.py @@ -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]