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:

committed by
Zhenyu Zheng

parent
6711bcfb42
commit
1a68176a71
@@ -247,7 +247,7 @@ class CLIClient(object):
|
|||||||
:param merge_stderr: if True the stderr buffer is merged into stdout
|
:param merge_stderr: if True the stderr buffer is merged into stdout
|
||||||
:type merge_stderr: boolean
|
:type merge_stderr: boolean
|
||||||
"""
|
"""
|
||||||
flags += ' --endpoint-type %s' % endpoint_type
|
flags += ' --os-endpoint-type %s' % endpoint_type
|
||||||
return self.cmd_with_auth(
|
return self.cmd_with_auth(
|
||||||
'cinder', action, flags, params, fail_ok, merge_stderr)
|
'cinder', action, flags, params, fail_ok, merge_stderr)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user