Fix hosts commands

Change-Id: I3164166d3fc9ccbc90bbac78a7de214fab9f61b2
This commit is contained in:
bharath 2018-10-10 23:24:46 +05:30
parent e4211c9e6b
commit cc4847dfdf
2 changed files with 2 additions and 2 deletions

View File

@ -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):

View File

@ -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')},