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 = (
client.get('client', {}).get('client_id'),
client.get('uuid'),
client.get('client', {}).get('uuid'),
client.get('client', {}).get('hostname'),
client.get('client', {}).get('description', '')
)
@ -96,7 +96,7 @@ class ClientList(lister.Lister):
columns = ('Client ID', 'uuid', 'hostname', 'description')
data = ((
client.get('client', {}).get('client_id', ''),
client.get('uuid', ''),
client.get('client', {}).get('uuid', ''),
client.get('client', {}).get('hostname', ''),
client.get('client', {}).get('description', '')
) for client in clients)