mirror of https://github.com/nicolargo/glances
Fatal error using Python 3.4 and Docker plugin bug (issue #602)
parent
d89c7835d9
commit
21f9e3db5d
7
NEWS
7
NEWS
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue