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
This commit is contained in:
Hugh Ma 2015-04-09 12:01:45 -07:00
parent 8fad3a4a69
commit 82c309fdc5
3 changed files with 3 additions and 3 deletions

View File

@ -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 "
"<deployment_uuid>|<deployment_name>"
"\nor pass uuid of deployment to "
"the --%(arg_name)s argument of "

View File

@ -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

View File

@ -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 {