Эх сурвалжийг харах

HUE-6722 [jb] Task progress shows as 1 and not 100%

Romain Rigaux 8 жил өмнө
parent
commit
489f415

+ 1 - 1
apps/jobbrowser/src/jobbrowser/yarn_models.py

@@ -354,7 +354,7 @@ class Task:
     setattr(self, 'execStartTimeFormatted', format_unixtime_ms(self.startTime))
     setattr(self, 'execFinishTimeFormatted', format_unixtime_ms(self.finishTime))
     setattr(self, 'startTimeFormatted', format_unixtime_ms(self.startTime))
-    setattr(self, 'progress', self.progress / 100)
+    setattr(self, 'progress', self.progress)
 
   @property
   def attempts(self):