Skip to content

Commit 5041520

Browse files
[DPE-6910] Remove duplicate parameters specification (#896)
* Remove duplicate parameters specification Signed-off-by: Marcelo Henrique Neppel <[email protected]> * Enable config test Signed-off-by: Marcelo Henrique Neppel <[email protected]> * Fix linting Signed-off-by: Marcelo Henrique Neppel <[email protected]> --------- Signed-off-by: Marcelo Henrique Neppel <[email protected]>
1 parent b85d54e commit 5041520

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

templates/patroni.yml.j2

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,6 @@ bootstrap:
4747
logging_collector: 'on'
4848
wal_level: logical
4949
shared_preload_libraries: 'timescaledb,pgaudit'
50-
{%- if pg_parameters %}
51-
{%- for key, value in pg_parameters.items() %}
52-
{{key}}: {{value}}
53-
{%- endfor -%}
54-
{% endif %}
5550
{%- if restoring_backup %}
5651
method: pgbackrest
5752
pgbackrest:

tests/integration/test_config.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,7 @@ async def test_config_parameters(ops_test: OpsTest, charm) -> None:
106106
"optimizer_parallel_tuple_cost": ["-1", "0.1"]
107107
}, # config option is between 0 and 1.80E+308
108108
{"profile": [test_string, "testing"]}, # config option is one of `testing` or `production`
109-
# {
110-
# "profile_limit_memory": {"127", "128"}
111-
# }, # config option is between 128 and 9999999
109+
{"profile_limit_memory": ["127", "128"]}, # config option is between 128 and 9999999
112110
{
113111
"request_backslash_quote": [test_string, "safe_encoding"]
114112
}, # config option is one of `safe_encoding` and `on` and `off`

0 commit comments

Comments
 (0)