Make the data block returned by the server mirror that of the build server. Make the UI respond to the new status format for pushing.

This commit is contained in:
yackob03 2014-01-02 14:13:16 -05:00
parent 8981f576fc
commit 06e03b1260
3 changed files with 5 additions and 6 deletions

View file

@ -874,15 +874,15 @@ def get_repo_builds(namespace, repository):
return node_status
# If there was no status url, do the best we can
# The format of this block should mirror that of the buildserver.
return {
'id': build_obj.id,
'total_commands': None,
'total_images': None,
'current_command': None,
'current_image': None,
'image_completion_percent': None,
'push_completion': 0.0,
'status': build_obj.phase,
'message': None,
'image_completion': {},
}
builds = model.list_repository_builds(namespace, repository)