Skip to content

Commit

Permalink
Add _namespace_ to custom filter to stop name collision
Browse files Browse the repository at this point in the history
  • Loading branch information
jradtilbrook committed Apr 4, 2017
1 parent 40498a3 commit 904f964
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion filter_plugins/to_ini.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ def to_ini(databases = []):

class FilterModule():
def filters(self):
return {'to_ini': to_ini}
return {'pgbouncer_to_ini': to_ini}
2 changes: 1 addition & 1 deletion templates/pgbouncer.ini.j2
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

;; Databases
[databases]
{{ pgbouncer_databases | to_ini }}
{{ pgbouncer_databases | pgbouncer_to_ini }}

;; Configuration section
[pgbouncer]
Expand Down

0 comments on commit 904f964

Please sign in to comment.