Merge "Fix freezer client-* output"

This commit is contained in:
Jenkins 2017-03-30 07:44:06 +00:00 committed by Gerrit Code Review
commit 346999522c

View File

@ -47,7 +47,7 @@ class ClientShow(show.ShowOne):
) )
data = ( data = (
client.get('client', {}).get('client_id'), client.get('client', {}).get('client_id'),
client.get('uuid'), client.get('client', {}).get('uuid'),
client.get('client', {}).get('hostname'), client.get('client', {}).get('hostname'),
client.get('client', {}).get('description', '') client.get('client', {}).get('description', '')
) )
@ -96,7 +96,7 @@ class ClientList(lister.Lister):
columns = ('Client ID', 'uuid', 'hostname', 'description') columns = ('Client ID', 'uuid', 'hostname', 'description')
data = (( data = ((
client.get('client', {}).get('client_id', ''), client.get('client', {}).get('client_id', ''),
client.get('uuid', ''), client.get('client', {}).get('uuid', ''),
client.get('client', {}).get('hostname', ''), client.get('client', {}).get('hostname', ''),
client.get('client', {}).get('description', '') client.get('client', {}).get('description', '')
) for client in clients) ) for client in clients)