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
This commit is contained in:
Kevin_Zheng 2016-05-19 19:17:02 +08:00 committed by Zhenyu Zheng
parent 6711bcfb42
commit 1a68176a71
1 changed files with 1 additions and 1 deletions

View File

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