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