Skip to content

Commit 24ae98d

Browse files
authored
Merge pull request #55 from francescotimperi/main
fix: apache/openserverless#108 postgres replicas set was ignored
2 parents 97f02f4 + d1c1775 commit 24ae98d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nuvolaris/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ def get_postgres_config_data():
449449
'postgres_nuvolaris_user': "nuvolaris",
450450
'postgres_nuvolaris_password': cfg.get('postgres.nuvolaris.password') or "s0meP@ass3",
451451
'size': cfg.get('postgres.volume-size') or 10,
452-
'replicas': cfg.get('postgres.admin.replicas') or 2,
452+
'replicas': cfg.get('postgres.replicas') or 2,
453453
'storageClass': cfg.get('nuvolaris.storageclass'),
454454
'failover': cfg.get('postgres.failover') or False,
455455
'backup': cfg.get('postgres.backup.enabled') or False,

0 commit comments

Comments
 (0)