瀏覽代碼

log when image is set to false

jusrhee 5 年之前
父節點
當前提交
83d61e26fd
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      dashboard/src/main/home/cluster-dashboard/expanded-chart/ExpandedJobChart.tsx

+ 2 - 0
dashboard/src/main/home/cluster-dashboard/expanded-chart/ExpandedJobChart.tsx

@@ -212,6 +212,7 @@ export default class ExpandedJobChart extends Component<PropsType, StateType> {
           newestImage !== "public.ecr.aws/o1j4x7p4/hello-porter-job" &&
           newestImage !== "public.ecr.aws/o1j4x7p4/hello-porter-job:latest"
         ) {
+          console.log("set to false on crons", newestImage)
           this.setState({ newestImage, imageIsPlaceholder: false });
         }
       }
@@ -351,6 +352,7 @@ export default class ExpandedJobChart extends Component<PropsType, StateType> {
       newestImage !== "public.ecr.aws/o1j4x7p4/hello-porter-job" &&
       newestImage !== "public.ecr.aws/o1j4x7p4/hello-porter-job:latest"
     ) {
+      console.log("set to false on sorting")
       this.setState({ jobs, newestImage, imageIsPlaceholder: false });
     } else {
       this.setState({ jobs });