Skip to content

Commit a03b5db

Browse files
committed
fix: fixed replication query variable
1 parent 3aa424e commit a03b5db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mamonsu/plugins/pgsql/replication.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def run(self, zbx):
9090
else:
9191
self.disable_and_exit_if_not_superuser()
9292

93-
non_active_slots = Pooler.query(query_non_active_slots)
93+
non_active_slots = Pooler.query(self.query_non_active_slots)
9494
zbx.send(self.key_non_active_slots.format("[]"), int(non_active_slots[0][0]))
9595

9696
def items(self, template, dashboard=False):

0 commit comments

Comments
 (0)