fix slow component status api

This commit is contained in:
Jeff
2019-11-05 09:01:56 +08:00
committed by zryfish
parent 6dcf1e4cda
commit da362aff4e

View File

@@ -96,9 +96,8 @@ type NodeStatus struct {
}
type HealthStatus struct {
KubeSphereComponents []ComponentStatus `json:"kubesphereStatus" description:"kubesphere components status"`
KubernetesComponents []corev1.ComponentStatus `json:"kubernetesStatus" description:"kubernetes components status"`
NodeStatus NodeStatus `json:"nodeStatus" description:"nodes status"`
KubeSphereComponents []ComponentStatus `json:"kubesphereStatus" description:"kubesphere components status"`
NodeStatus NodeStatus `json:"nodeStatus" description:"nodes status"`
}
type PodInfo struct {