Skip to content

Commit

Permalink
[Docker] Docker lib version 6.1.0 breaks Glances #2366
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolargo committed May 6, 2023
1 parent 70964c6 commit b8b2303
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glances/plugins/glances_docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -708,7 +708,7 @@ def __init__(self, container):
self._stopper = threading.Event()
# The docker-py return stats as a stream
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
self._stats = {}
logger.debug("docker plugin - Create thread for container {}".format(self._container.name))
Expand Down

0 comments on commit b8b2303

Please sign in to comment.