فهرست منبع

caching changes

jusrhee 5 سال پیش
والد
کامیت
f85a2c0bf6
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      dashboard/src/main/home/cluster-dashboard/expanded-chart/status/ControllerTab.tsx

+ 1 - 1
dashboard/src/main/home/cluster-dashboard/expanded-chart/status/ControllerTab.tsx

@@ -80,7 +80,7 @@ export default class ControllerTab extends Component<PropsType, StateType> {
   }
 
   getPodStatus = (status: any) => {
-    if (status?.phase == 'Pending') {
+    if (status?.phase == 'Pending' && status?.containerStatuses?.length > 0) {
       return status?.containerStatuses[0].state.waiting.reason
       // return 'waiting'
     }