Merge "Fix freezer client-* output"
This commit is contained in:
commit
346999522c
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user