Revert "Modify --endpoint-type to --os-endpoint-type for nova"

The changed actually modified the cinder client's argument,
and the option juts exists in relatively new cinder clients.

This reverts commit 1a68176a71.

Change-Id: I8f34714cd6e075bacbc416c369965fd3059ad066
This commit is contained in:
afazekas 2016-05-26 13:59:32 +02:00 committed by Ken'ichi Ohmichi
parent df6c026ec3
commit 84fd2b2960
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 += ' --os-endpoint-type %s' % endpoint_type
flags += ' --endpoint-type %s' % endpoint_type
return self.cmd_with_auth(
'cinder', action, flags, params, fail_ok, merge_stderr)