Add the image push percent to the progress bar
This commit is contained in:
		
							parent
							
								
									5175364e62
								
							
						
					
					
						commit
						59543a2e51
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		|  | @ -201,7 +201,9 @@ quayApp.directive('buildStatus', function () { | |||
|                 break; | ||||
|                  | ||||
|               case 'pushing': | ||||
|                 return (buildInfo.current_image / buildInfo.total_images) * 100; | ||||
|                 var imagePercentDecimal = (buildInfo.image_completion_percent / 100); | ||||
|                 var portion = 1 / buildInfo.total_images; | ||||
|                 return (buildInfo.current_image / buildInfo.total_images) * 100 + (portion * imagePercentDecimal); | ||||
|                 break; | ||||
| 
 | ||||
|               case 'complete': | ||||
|  |  | |||
		Reference in a new issue