Skip to content

Commit 8109d18

Browse files
committed
fix the postgresql services port.
1 parent 7282ebf commit 8109d18

File tree

1 file changed

+1
-2
lines changed
  • platforms/kubernetes/postgres-operator/postgres

1 file changed

+1
-2
lines changed

platforms/kubernetes/postgres-operator/postgres/handle.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2239,9 +2239,8 @@ def create_services(
22392239
# k8s mode
22402240
if autofailover_machines == None:
22412241
core_v1_api = client.CoreV1Api()
2242-
autofailover = False
2243-
22442242
for service in spec[SERVICES]:
2243+
autofailover = False
22452244
if service[SELECTOR] == SERVICE_AUTOFAILOVER:
22462245
labels = get_service_autofailover_labels(meta)
22472246
autofailover = True

0 commit comments

Comments
 (0)