mirror of
https://github.com/nicolargo/glances.git
synced 2026-03-14 03:50:10 -04:00
Merge branch 'develop' of https://github.com/nicolargo/glances into issue1182
This commit is contained in:
@@ -465,7 +465,9 @@ class Plugin(GlancesPlugin):
|
||||
ret = []
|
||||
|
||||
# Only process if stats exist (and non null) and display plugin enable...
|
||||
if not self.stats or len(self.stats['containers']) == 0 or self.is_disable():
|
||||
if not self.stats \
|
||||
or 'containers' not in self.stats or len(self.stats['containers']) == 0 \
|
||||
or self.is_disable():
|
||||
return ret
|
||||
|
||||
# Build the string message
|
||||
|
||||
Reference in New Issue
Block a user