Skip to content

Commit

Permalink
go fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
srteam2020 committed May 10, 2021
1 parent 8e62f0a commit 78718d8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 78718d8

Please sign in to comment.