From 82c309fdc5fc02a95a4cdf3b9f976138c6228a78 Mon Sep 17 00:00:00 2001 From: Hugh Ma Date: Thu, 9 Apr 2015 12:01:45 -0700 Subject: [PATCH] Replaced deprecated 'use deployment' with 'deployment use' Changes: - Replaced 'use deployment' with 'deployment use' in various files as the former command has been deprecated. Change-Id: I5f5779d6b6f36fa4f21cfe257ba88c2d9fce0d57 Closes-Bug: #1433683 --- rally/cmd/envutils.py | 2 +- tests/ci/rally-gate.sh | 2 +- tests/ci/rally-verify.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rally/cmd/envutils.py b/rally/cmd/envutils.py index bcd0388dd6..51aa3e7668 100644 --- a/rally/cmd/envutils.py +++ b/rally/cmd/envutils.py @@ -71,7 +71,7 @@ def with_default_deployment(cli_arg_name="uuid"): return default_from_global("deployment", ENV_DEPLOYMENT, cli_arg_name, message=_("There is no default deployment.\n" "\tPlease use command:\n" - "\trally use deployment " + "\trally deployment use " "|" "\nor pass uuid of deployment to " "the --%(arg_name)s argument of " diff --git a/tests/ci/rally-gate.sh b/tests/ci/rally-gate.sh index 84d64cdc88..440b5b2b8e 100755 --- a/tests/ci/rally-gate.sh +++ b/tests/ci/rally-gate.sh @@ -48,7 +48,7 @@ fi env set -o pipefail -rally use deployment --deployment devstack +rally deployment use --deployment devstack rally deployment check rally show flavors rally show images diff --git a/tests/ci/rally-verify.sh b/tests/ci/rally-verify.sh index ac7780585a..676b9a036d 100755 --- a/tests/ci/rally-verify.sh +++ b/tests/ci/rally-verify.sh @@ -24,7 +24,7 @@ mkdir -p ${RESULTS_DIR}/extra # Check deployment -rally use deployment --deployment devstack +rally deployment use --deployment devstack rally deployment check function do_status {