From 2006cdcfdee5b078a03b2222f0d7d33065068fea Mon Sep 17 00:00:00 2001 From: howardlee Date: Thu, 4 May 2017 02:26:03 -0700 Subject: [PATCH] Failed to create job using freezer-web-ui It can not create a job when i use the freezer ui and it does not report any error on ui or in log file. When i input corresponding information and click "save" button on the 'Job Configuration' dialog, it dose nothing and the 'Job Configuration' dialog still exists. The cause of this problem is that it get None of uuid when get clients. This patch will fix it. Change-Id: I633ba237f18df63072c36ef545497aa51c3dda2c Closes-Bug: #1688212 --- disaster_recovery/api/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/disaster_recovery/api/api.py b/disaster_recovery/api/api.py index 4843000..0aa1805 100644 --- a/disaster_recovery/api/api.py +++ b/disaster_recovery/api/api.py @@ -442,7 +442,7 @@ class Client(object): return [utils.ClientObject( c.get('client', {}).get('hostname'), c.get('client', {}).get('client_id'), - c.get('uuid') + c.get('client', {}).get('uuid') ) for c in clients] def get(self, client_id, json=False):