bin/metric-postgres-graphite.rb in sensu-plugins-postgres-1.4.4 vs bin/metric-postgres-graphite.rb in sensu-plugins-postgres-1.4.5

- old
+ new

@@ -105,9 +105,10 @@ # Establishing connections to the slave conn_slave = PG.connect(host: config[:slave_host], dbname: config[:database], user: config[:user], password: config[:password], + port: config[:port], connect_timeout: config[:timeout]) res = conn_slave.exec('SELECT pg_last_xlog_receive_location()').getvalue(0, 0) conn_slave.close # Compute lag