浏览代码

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" &&
           newestImage !== "public.ecr.aws/o1j4x7p4/hello-porter-job:latest"
           newestImage !== "public.ecr.aws/o1j4x7p4/hello-porter-job:latest"
         ) {
         ) {
+          console.log("set to false on crons", newestImage)
           this.setState({ newestImage, imageIsPlaceholder: false });
           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" &&
       newestImage !== "public.ecr.aws/o1j4x7p4/hello-porter-job:latest"
       newestImage !== "public.ecr.aws/o1j4x7p4/hello-porter-job:latest"
     ) {
     ) {
+      console.log("set to false on sorting")
       this.setState({ jobs, newestImage, imageIsPlaceholder: false });
       this.setState({ jobs, newestImage, imageIsPlaceholder: false });
     } else {
     } else {
       this.setState({ jobs });
       this.setState({ jobs });