Merge "Use --os-endpoint-type for Cinder CLI"

This commit is contained in:
Zuul 2018-08-06 10:16:06 +00:00 committed by Gerrit Code Review
commit 333db02f32
2 changed files with 7 additions and 1 deletions

View File

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

View File

@ -269,7 +269,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)