Commit 69518a3c authored by Dmitry Volodin's avatar Dmitry Volodin
Browse files

commit fix

parent e5311436
......@@ -70,7 +70,7 @@ class PostgreSQLProbe(Probe):
service=row[0]
for param,value in zip(self.pg_stat_params,row[1:]):
self.set_data(service,param,value)
self.sql("COMMIT")
self.get_cursor().execute("COMMIT")
self.exit()
def on_stop(self):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment