Merge "[cli]remove deprecated rally show
command"
This commit is contained in:
commit
a2dba3c333
@ -28,11 +28,6 @@ _rally()
|
|||||||
OPTS["deployment_use"]="--deployment"
|
OPTS["deployment_use"]="--deployment"
|
||||||
OPTS["plugin_list"]="--name --namespace"
|
OPTS["plugin_list"]="--name --namespace"
|
||||||
OPTS["plugin_show"]="--name --namespace"
|
OPTS["plugin_show"]="--name --namespace"
|
||||||
OPTS["show_flavors"]="--deployment"
|
|
||||||
OPTS["show_images"]="--deployment"
|
|
||||||
OPTS["show_keypairs"]="--deployment"
|
|
||||||
OPTS["show_networks"]="--deployment"
|
|
||||||
OPTS["show_secgroups"]="--deployment"
|
|
||||||
OPTS["task_abort"]="--uuid --soft"
|
OPTS["task_abort"]="--uuid --soft"
|
||||||
OPTS["task_delete"]="--force --uuid"
|
OPTS["task_delete"]="--force --uuid"
|
||||||
OPTS["task_detailed"]="--uuid --iterations-data"
|
OPTS["task_detailed"]="--uuid --iterations-data"
|
||||||
|
@ -548,8 +548,7 @@ def check_objects_imports_in_cli(logical_line, physical_line, filename):
|
|||||||
|
|
||||||
N361
|
N361
|
||||||
"""
|
"""
|
||||||
if (not filename.startswith("./rally/cli")
|
if not filename.startswith("./rally/cli"):
|
||||||
or filename == "./rally/cli/commands/show.py"):
|
|
||||||
return
|
return
|
||||||
if re_objects_import.search(logical_line):
|
if re_objects_import.search(logical_line):
|
||||||
yield (0, "N361 CLI modules do not allow to work with "
|
yield (0, "N361 CLI modules do not allow to work with "
|
||||||
|
Loading…
Reference in New Issue
Block a user