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: Ibd6fccdbd2af47eeeecda903e317d80eb77374cc
This commit is contained in:
Kevin_Zheng 2016-05-26 19:21:19 +08:00 committed by Zhenyu Zheng
parent b02fa114b8
commit c6795b538e
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,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(
'nova', action, flags, params, fail_ok, merge_stderr)