Fix hosts commands
Change-Id: I3164166d3fc9ccbc90bbac78a7de214fab9f61b2
This commit is contained in:
parent
e4211c9e6b
commit
cc4847dfdf
@ -238,7 +238,7 @@ def update_headers(headers, api_version):
|
||||
|
||||
if not api_version.is_null() and api_version.ver_minor != 0:
|
||||
version_string = api_version.get_string()
|
||||
headers[HEADER_NAME] = '%s %s' % (SERVICE_TYPE, version_string)
|
||||
#headers[HEADER_NAME] = '%s %s' % (SERVICE_TYPE, version_string)
|
||||
|
||||
|
||||
def _add_substitution(versioned_method):
|
||||
|
@ -123,7 +123,7 @@ def remove_null_parms(**kwargs):
|
||||
return new
|
||||
|
||||
|
||||
def list_nodes(nodes):
|
||||
def list_hosts(nodes):
|
||||
columns = ('uuid', 'name', 'type', 'status')
|
||||
utils.print_list(nodes, columns,
|
||||
{'versions': print_list_field('versions')},
|
||||
|
Loading…
x
Reference in New Issue
Block a user