Skip to content

Commit 0bb34a2

Browse files
committed
fix: take out key initialization
1 parent d1a52aa commit 0bb34a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mamonsu/plugins/pgsql/relations_size.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77

88
class RelationsSize(Plugin):
99
DEFAULT_CONFIG = {'enabled': 'False'}
10+
key_rel_size_discovery = "pgsql.relation.size{0}"
1011

1112
def __init__(self, config):
1213
super(Plugin, self).__init__(config)
1314
if self.is_enabled():
1415
self.relations = None
15-
self.key_rel_size_discovery = "pgsql.relation.size{0}"
1616
self.query_template = """SELECT relation.schema
1717
, relation.name
1818
, CASE WHEN l.mode = 'AccessExclusiveLock' THEN '-1'

0 commit comments

Comments
 (0)