From 9b5881626942c85f1f512a69e31442c3c47491a8 Mon Sep 17 00:00:00 2001 From: Murat Kabilov Date: Wed, 26 Jul 2017 17:16:37 +0200 Subject: [PATCH] fix --- pkg/controller/status.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/controller/status.go b/pkg/controller/status.go index a6a067eb7..c656dec3a 100644 --- a/pkg/controller/status.go +++ b/pkg/controller/status.go @@ -1,16 +1,16 @@ package controller import ( - "github.com/zalando-incubator/postgres-operator/pkg/util/config" - "github.com/zalando-incubator/postgres-operator/pkg/spec" "github.com/zalando-incubator/postgres-operator/pkg/cluster" + "github.com/zalando-incubator/postgres-operator/pkg/spec" + "github.com/zalando-incubator/postgres-operator/pkg/util/config" ) type controllerStatus struct { ControllerConfig Config OperatorConfig config.Config LastSyncTime int64 - Clusters int + Clusters int } type clusterStatus struct { @@ -49,6 +49,6 @@ func (c *Controller) Status() interface{} { ControllerConfig: c.config, OperatorConfig: *c.opConfig, LastSyncTime: c.lastClusterSyncTime, - Clusters: len(c.clusters), + Clusters: len(c.clusters), } }