From 78718d88dd09b2a2a102e7d9f2a7c518b33f11b9 Mon Sep 17 00:00:00 2001 From: srteam2020 Date: Sun, 9 May 2021 23:04:25 -0500 Subject: [PATCH] go fmt --- pkg/controller/zookeepercluster/zookeepercluster_controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/controller/zookeepercluster/zookeepercluster_controller.go b/pkg/controller/zookeepercluster/zookeepercluster_controller.go index 345d05d7e..83b4ed58d 100644 --- a/pkg/controller/zookeepercluster/zookeepercluster_controller.go +++ b/pkg/controller/zookeepercluster/zookeepercluster_controller.go @@ -234,7 +234,7 @@ func (r *ReconcileZookeeperCluster) reconcileStatefulSet(instance *zookeeperv1be return err } else { // check whether zookeeperCluster is updated before updating the sts - if ! r.zookeeperClusterUpdated(instance, sts) { + if !r.zookeeperClusterUpdated(instance, sts) { return fmt.Errorf("Staleness: cr.ResourceVersion %s is smaller than labeledRV %s", instance.ResourceVersion, sts.Labels["owner-rv"]) } foundSTSSize := *foundSts.Spec.Replicas