mirror of https://github.com/nicolargo/glances
[Docker] Docker lib version 6.1.0 breaks Glances #2366
parent
70964c6d32
commit
b8b2303593
|
@ -708,7 +708,7 @@ class ThreadDockerGrabber(threading.Thread):
|
||||||
self._stopper = threading.Event()
|
self._stopper = threading.Event()
|
||||||
# The docker-py return stats as a stream
|
# The docker-py return stats as a stream
|
||||||
self._container = container
|
self._container = container
|
||||||
self._stats_stream = container.stats(decode=True)
|
self._stats_stream = container.stats(stream=True, decode=True)
|
||||||
# The class return the stats as a dict
|
# The class return the stats as a dict
|
||||||
self._stats = {}
|
self._stats = {}
|
||||||
logger.debug("docker plugin - Create thread for container {}".format(self._container.name))
|
logger.debug("docker plugin - Create thread for container {}".format(self._container.name))
|
||||||
|
|
Loading…
Reference in New Issue