jusrhee 5 лет назад
Родитель
Сommit
f85a2c0bf6

+ 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'
     }