bin/check-postgres-query.rb in sensu-plugins-postgres-1.0.1 vs bin/check-postgres-query.rb in sensu-plugins-postgres-1.1.0

- old
+ new

@@ -98,9 +98,10 @@ begin con = PG.connect(host: config[:hostname], dbname: config[:database], user: config[:user], password: config[:password], + port: config[:port], connect_timeout: config[:timeout]) res = con.exec(config[:query].to_s) rescue PG::Error => e unknown "Unable to query PostgreSQL: #{e.message}" end