diff --git a/freezerclient/v1/clients.py b/freezerclient/v1/clients.py index 965204c..d380d33 100644 --- a/freezerclient/v1/clients.py +++ b/freezerclient/v1/clients.py @@ -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)