mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-09 10:25:52 +02:00
fix
This commit is contained in:
@@ -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),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user