From 7c9b4599190ff758073f4ce0aa46dd6ad3b151c7 Mon Sep 17 00:00:00 2001 From: Rafia Sabih Date: Fri, 11 Sep 2020 10:22:29 +0200 Subject: [PATCH] Minor fix --- pkg/cluster/k8sres.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkg/cluster/k8sres.go b/pkg/cluster/k8sres.go index 027aa3cff..582c00fda 100644 --- a/pkg/cluster/k8sres.go +++ b/pkg/cluster/k8sres.go @@ -2317,8 +2317,10 @@ func (c *Cluster) generateConnectionPoolerService(spec *acidv1.PostgresSpec, rol TargetPort: intstr.IntOrString{StrVal: c.servicePort(role)}, }, }, - Type: v1.ServiceTypeClusterIP, - Selector: map[string]string{"connection-pooler": c.connectionPoolerName(role)}, + Type: v1.ServiceTypeClusterIP, + Selector: map[string]string{ + "connection-pooler": c.connectionPoolerName(role), + }, } service := &v1.Service{