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

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