Merge "Use --os-endpoint-type for Cinder CLI"
This commit is contained in:
commit
333db02f32
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
upgrade:
|
||||||
|
- |
|
||||||
|
Cinder CLI calls have now been updated to use the ``--os-endpoint-type``
|
||||||
|
option instead of ``--endpoint-type``. The latter had been deprecated in
|
||||||
|
Cinder and has been removed in the Rocky release.
|
@ -269,7 +269,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)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user