This commit is contained in:
Murat Kabilov
2017-07-26 17:16:03 +02:00
parent 4d4fc394df
commit 9f9e841bf3
2 changed files with 14 additions and 17 deletions
+2
View File
@@ -10,6 +10,7 @@ type controllerStatus struct {
ControllerConfig Config
OperatorConfig config.Config
LastSyncTime int64
ClustersRunning int
}
type clusterStatus struct {
@@ -48,5 +49,6 @@ func (c *Controller) Status() interface{} {
ControllerConfig: c.config,
OperatorConfig: *c.opConfig,
LastSyncTime: c.lastClusterSyncTime,
ClustersRunning: len(c.clusters),
}
}