diff options
Diffstat (limited to 'collectors/python.d.plugin/postgres/postgres.chart.py')
-rw-r--r-- | collectors/python.d.plugin/postgres/postgres.chart.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/collectors/python.d.plugin/postgres/postgres.chart.py b/collectors/python.d.plugin/postgres/postgres.chart.py index ff741a06c3..48880bb08f 100644 --- a/collectors/python.d.plugin/postgres/postgres.chart.py +++ b/collectors/python.d.plugin/postgres/postgres.chart.py @@ -815,7 +815,7 @@ class Service(SimpleService): params = { 'host': conf.get('host'), - 'port': conf.get('host', DEFAULT_PORT), + 'port': conf.get('port', DEFAULT_PORT), 'database': conf.get('database'), 'user': conf.get('user', DEFAULT_USER), 'password': conf.get('password'), |