Skip to content

Commit 0395f1f

Browse files
committed
fix: change type for non_active_slots count
1 parent f11bbfb commit 0395f1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mamonsu/plugins/pgsql/xlog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def triggers(self, template):
140140
'name': 'PostgreSQL number of non-active replication slots '
141141
'on {HOSTNAME} (value={ITEM.LASTVALUE})',
142142
'expression': '{#TEMPLATE:' + self.right_type(self.key_replication, "sec") + '.last()}≠' +
143-
NUMBER_NON_ACTIVE_SLOTS
143+
str(NUMBER_NON_ACTIVE_SLOTS)
144144
})
145145
return triggers
146146

0 commit comments

Comments
 (0)