From 57a29277809f14c78eef9f81ac502b419b5837e0 Mon Sep 17 00:00:00 2001 From: haishi Date: Wed, 21 Dec 2016 20:11:04 +0800 Subject: [PATCH] [cli]remove deprecated `rally show` command rally show command deprecated from Rally 0.2.0 relatednote: http://rally.readthedocs.io/en/0.7.0/cli/cli_reference.html#category-show Change-Id: I54b907d0b6a88a9ed42847ade2f7ac091241837c --- etc/rally.bash_completion | 5 ----- tests/hacking/checks.py | 3 +-- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/etc/rally.bash_completion b/etc/rally.bash_completion index bff57e17..dfe7f6d4 100644 --- a/etc/rally.bash_completion +++ b/etc/rally.bash_completion @@ -28,11 +28,6 @@ _rally() OPTS["deployment_use"]="--deployment" OPTS["plugin_list"]="--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_delete"]="--force --uuid" OPTS["task_detailed"]="--uuid --iterations-data" diff --git a/tests/hacking/checks.py b/tests/hacking/checks.py index 0d34e10f..7e20e3e2 100644 --- a/tests/hacking/checks.py +++ b/tests/hacking/checks.py @@ -548,8 +548,7 @@ def check_objects_imports_in_cli(logical_line, physical_line, filename): N361 """ - if (not filename.startswith("./rally/cli") - or filename == "./rally/cli/commands/show.py"): + if not filename.startswith("./rally/cli"): return if re_objects_import.search(logical_line): yield (0, "N361 CLI modules do not allow to work with "