浏览代码

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

Romain Rigaux 8 年之前
父节点
当前提交
489f415
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      apps/jobbrowser/src/jobbrowser/yarn_models.py

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