Skip to content

Commit 295d452

Browse files
committed
fix: fixed autovacuum graph items construction
1 parent 01ddffa commit 295d452

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mamonsu/plugins/pgsql/databases.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,11 @@ def items(self, template, dashboard=False):
101101
def graphs(self, template, dashboard=False):
102102
result = template.graph({
103103
"name": "PostgreSQL Autovacuum: Count of Autovacuum Workers",
104-
"items": {
104+
"items": [{
105105
"key": self.right_type(self.key_autovacumm),
106106
"color": "7EB29B",
107107
"drawtype": 2
108-
}
108+
}]
109109
})
110110
if not dashboard:
111111
return result

0 commit comments

Comments
 (0)