mirror of
https://github.com/nicolargo/glances.git
synced 2024-11-29 07:30:58 +03:00
Correct a bug with Docker module and server mode
This commit is contained in:
parent
ef4f04e707
commit
33ea6415de
@ -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