Minor improvements

This commit is contained in:
Sergey Dudoladov
2018-03-02 14:03:41 +01:00
parent 2aeff096f7
commit 5ff562a607
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -703,7 +703,7 @@ func (c *Cluster) generateService(role PostgresRole, spec *spec.PostgresSpec) *v
var annotations map[string]string
if c.shouldCreateLoadBalancerForService(role, spec) == true {
if c.shouldCreateLoadBalancerForService(role, spec) {
// safe default value: lock load balancer to only local address unless overridden explicitly.
sourceRanges := []string{localHost}