From 1a68176a7192b8b51be255b638ca2dbb00fdecda Mon Sep 17 00:00:00 2001 From: Kevin_Zheng Date: Thu, 19 May 2016 19:17:02 +0800 Subject: [PATCH] Modify --endpoint-type to --os-endpoint-type for nova We are trying to remove deprecated option: --endpoint-type in https://review.openstack.org/#/c/317795/ so we should use --os-endpoint-type for nova now. Change-Id: I2010424a38ba6b817235b507769893413ec27b34 --- tempest/lib/cli/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tempest/lib/cli/base.py b/tempest/lib/cli/base.py index 54f35f4e80..9460bf4e09 100644 --- a/tempest/lib/cli/base.py +++ b/tempest/lib/cli/base.py @@ -247,7 +247,7 @@ class CLIClient(object): :param merge_stderr: if True the stderr buffer is merged into stdout :type merge_stderr: boolean """ - flags += ' --endpoint-type %s' % endpoint_type + flags += ' --os-endpoint-type %s' % endpoint_type return self.cmd_with_auth( 'cinder', action, flags, params, fail_ok, merge_stderr)