This commit is contained in:
Murat Kabilov
2017-07-26 17:16:23 +02:00
parent 9f9e841bf3
commit 75218fec34
+2 -2
View File
@@ -10,7 +10,7 @@ type controllerStatus struct {
ControllerConfig Config
OperatorConfig config.Config
LastSyncTime int64
ClustersRunning int
Clusters int
}
type clusterStatus struct {
@@ -49,6 +49,6 @@ func (c *Controller) Status() interface{} {
ControllerConfig: c.config,
OperatorConfig: *c.opConfig,
LastSyncTime: c.lastClusterSyncTime,
ClustersRunning: len(c.clusters),
Clusters: len(c.clusters),
}
}