From 1642922bbecd46a8c4263494b0d1977d51deb158 Mon Sep 17 00:00:00 2001 From: Yaroslav Lobankov Date: Fri, 2 Oct 2015 17:09:21 +0300 Subject: [PATCH] Small improvements for `rally verify import` 1. Optional arguement "--set-name" was renamed into "--set" for consistency. See `rally verify start`. 2. The @envutils.with_default_deployment decorator was added to the import_results method. 3. When we import some results and don't specify set name for tests, in the verification table set name for these tests will be specified as None. So the default value of the "set_name" parameter was changed from None to "" to avoid this issue. Change-Id: Icd6659f1a78c6a426c50c67cc31b7cd85f9fbd11 --- etc/rally.bash_completion | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/rally.bash_completion b/etc/rally.bash_completion index 220b8dcd..e807cd15 100644 --- a/etc/rally.bash_completion +++ b/etc/rally.bash_completion @@ -49,7 +49,7 @@ _rally() OPTS["verify_compare"]="--uuid-1 --uuid-2 --csv --html --json --output-file --threshold" OPTS["verify_detailed"]="--uuid --sort-by" OPTS["verify_genconfig"]="--deployment --tempest-config --override" - OPTS["verify_import"]="--deployment --set-name --file --no-use" + OPTS["verify_import"]="--deployment --set --file --no-use" OPTS["verify_install"]="--deployment --source" OPTS["verify_list"]="" OPTS["verify_reinstall"]="--deployment --tempest-config --source" @@ -86,4 +86,4 @@ _rally() return 0 } -complete -o filenames -F _rally rally +complete -o filenames -F _rally rally \ No newline at end of file