@cryptotaxi247 / netdata-1 / commits / 263ec643b

Fix Postgres connect, incorrect port value (#5618)

<!-- Describe the change in summary section, including rationale and degin decisions. Include "Fixes #nnn" if you are fixing an existing issue. In "Component Name" section write which component is changed in this PR. This will help us review your PR quicker. If you have more information you want to add, write them in "Additional Information" section. This is usually used to help others understand your motivation behind this change. A step-by-step reproduction of the problem is helpful if there is no related issue. --> ##### Summary Fix postgres connection, port value was incorrect, it was taking host value instead of port. ##### Component Name [collectors/python.d.plugin/postgres](https://github.com/netdata/netdata/tree/master/collectors/python.d.plugin/postgres) ##### Additional Information

Max J. Rodriguez B committed Mar 12, 2019 at 13:18 UTC 263ec643b26ddd4e8c9ff61f64c721f09f9a6964
1 file changed +1 -1
collectors/python.d.plugin/postgres/postgres.chart.py
+1 -1
@@ -815,7 +815,7 @@ class Service(SimpleService):
815
816 params = {
817 'host': conf.get('host'),
818 - 'port': conf.get('host', DEFAULT_PORT),
818 + 'port': conf.get('port', DEFAULT_PORT),
819 'database': conf.get('database'),
820 'user': conf.get('user', DEFAULT_USER),
821 'password': conf.get('password'),