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
This commit is contained in:
howardlee 2017-05-04 02:26:03 -07:00
parent d0359ac2f6
commit 2006cdcfde
1 changed files with 1 additions and 1 deletions

View File

@ -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):