diff options
author | nicolargo <nicolashennion@gmail.com> | 2016-08-21 10:25:46 +0200 |
---|---|---|
committer | nicolargo <nicolashennion@gmail.com> | 2016-08-21 10:25:46 +0200 |
commit | addd7f06ad27aa081cbce4f43afd9d355c3eeaa7 (patch) | |
tree | e062a030f2b8ee1b342bfb6d823fbc68c10bc73b | |
parent | 757ef71c4234ba166cdd7906ff5b5e08532f7785 (diff) | |
parent | ab9312ce83d68fe1191a739487c92e3e186dfea6 (diff) |
Merge branch 'develop' of https://github.com/nicolargo/glances into develop
-rw-r--r-- | glances/plugins/glances_docker.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glances/plugins/glances_docker.py b/glances/plugins/glances_docker.py index 5b75832b..41923f04 100644 --- a/glances/plugins/glances_docker.py +++ b/glances/plugins/glances_docker.py @@ -356,7 +356,7 @@ class Plugin(GlancesPlugin): network_new['tx'] = netcounters["eth0"]["tx_bytes"] - self.netcounters_old[container_id]["eth0"]["tx_bytes"] network_new['cumulative_rx'] = netcounters["eth0"]["rx_bytes"] network_new['cumulative_tx'] = netcounters["eth0"]["tx_bytes"] - except KeyError: + except KeyError as e: # all_stats do not have INTERFACE information logger.debug("Cannot grab network interface usage for container {} ({})".format(container_id, e)) logger.debug(all_stats) |