提交 21f9e3db 编写于 作者: N nicolargo

Fatal error using Python 3.4 and Docker plugin bug (issue #602)

上级 d89c7835
......@@ -7,6 +7,13 @@ Version 2.5
...
Version 2.4.1
=============
Bugs corrected:
* Fatal error using Python 3.4 and Docker plugin bug (issue #602)
Version 2.4
===========
......
......@@ -165,7 +165,8 @@ class Plugin(GlancesPlugin):
try:
self.docker_stats[c['Id']] = self.docker_client.stats(c['Id'], decode=True)
logger.debug("Create Docker stats object for container {}".format(c['Id']))
except (AttributeError, docker.errors.InvalidVersion) as e:
except Exception as e:
# Correct Issue #602
logger.error("Can not call Docker stats method {}".format(e))
# Get the docker stats
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册