mirror of
https://github.com/nicolargo/glances.git
synced 2024-11-29 15:32:25 +03:00
Correct a bug with Docker module and server mode
This commit is contained in:
parent
83b0a1fdd8
commit
c51d4f57de
@ -111,7 +111,7 @@ class Plugin(GlancesPlugin):
|
||||
self.reset()
|
||||
|
||||
# The Docker-py lib is mandatory
|
||||
if not docker_tag or self.args.disable_docker:
|
||||
if not docker_tag or (self.args is not None and self.args.disable_docker):
|
||||
return self.stats
|
||||
|
||||
if self.get_input() == 'local':
|
||||
|
Loading…
Reference in New Issue
Block a user