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

@ -2030,8 +2030,7 @@ quayApp.directive('buildStatus', function () {
break;
case 'pushing':
var imagePercentDecimal = (buildInfo.image_completion_percent / 100);
return ((buildInfo.current_image + imagePercentDecimal) / buildInfo.total_images) * 100;
return buildInfo.push_completion * 100;
break;
case 'complete':