Add support to micro-version
This patch adds support to api-microversioning from senlinclient. Change-Id: Ic37acfca53473d7a3e9a234288886b98e88e63b9
This commit is contained in:
parent
69ba1c6d26
commit
ae07c57bf2
|
@ -133,6 +133,7 @@ def create_connection(prof=None, user_agent=None, **kwargs):
|
|||
if region_name:
|
||||
prof.set_region('clustering', region_name)
|
||||
|
||||
prof.set_api_version('clustering', '1.2')
|
||||
try:
|
||||
conn = connection.Connection(profile=prof, user_agent=user_agent,
|
||||
**kwargs)
|
||||
|
|
|
@ -515,7 +515,7 @@ def do_cluster_collect(service, args):
|
|||
utils.print_list(attrs, fields, formatters=formatters)
|
||||
else:
|
||||
for attr in attrs:
|
||||
print(attr.value)
|
||||
print(attr.attr_value)
|
||||
|
||||
|
||||
@utils.arg('id', metavar='<CLUSTER>', nargs='+',
|
||||
|
|
Loading…
Reference in New Issue