diff --git a/filter_plugins/to_ini.py b/filter_plugins/to_ini.py index a3bfcdd..4e8c417 100644 --- a/filter_plugins/to_ini.py +++ b/filter_plugins/to_ini.py @@ -14,4 +14,4 @@ def to_ini(databases = []): class FilterModule(): def filters(self): - return {'to_ini': to_ini} + return {'pgbouncer_to_ini': to_ini} diff --git a/templates/pgbouncer.ini.j2 b/templates/pgbouncer.ini.j2 index 14d3057..19cb998 100644 --- a/templates/pgbouncer.ini.j2 +++ b/templates/pgbouncer.ini.j2 @@ -2,7 +2,7 @@ ;; Databases [databases] -{{ pgbouncer_databases | to_ini }} +{{ pgbouncer_databases | pgbouncer_to_ini }} ;; Configuration section [pgbouncer]