Skip to content

Commit 8c1c5ae

Browse files
committed
Change to case-insensitive detection of the serverstats plugin.
1 parent bb125db commit 8c1c5ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/monitoring/service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ async def monitoring(self):
362362
self.drive_check(),
363363
])
364364

365-
if 'serverstats' in self.node.config.get('opt_plugins', []):
365+
if 'serverstats' in self.node.plugins:
366366
tasks.append(self.serverload())
367367

368368
if self.node.locals.get('nodestats', True):

0 commit comments

Comments
 (0)