From cf61c118eb9256211f7f3b2f7e674a7065f1e6fe Mon Sep 17 00:00:00 2001 From: dirtycajunrice Date: Fri, 1 Feb 2019 16:15:55 -0600 Subject: [PATCH] Flake8 --- pyouroboros/dataexporters.py | 2 +- pyouroboros/dockerclient.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pyouroboros/dataexporters.py b/pyouroboros/dataexporters.py index fc54f7b1..b0c54364 100644 --- a/pyouroboros/dataexporters.py +++ b/pyouroboros/dataexporters.py @@ -19,7 +19,7 @@ def __init__(self, config): def add(self, label, socket): if self.config.data_export == "prometheus" and self.enabled: - self.prometheus.update(label, socket) + self.prometheus.update(label, socket) elif self.config.data_export == "influxdb" and self.enabled: if label == "all": diff --git a/pyouroboros/dockerclient.py b/pyouroboros/dockerclient.py index aa2dda00..56ff4900 100644 --- a/pyouroboros/dockerclient.py +++ b/pyouroboros/dockerclient.py @@ -92,9 +92,9 @@ def monitor_filter(self): continue elif not self.config.labels_only and self.config.monitor and container.name in self.config.monitor \ and container.name not in self.config.ignore: - monitored_containers.append(container) + monitored_containers.append(container) elif not self.config.labels_only and container.name not in self.config.ignore: - monitored_containers.append(container) + monitored_containers.append(container) self.data_manager.monitored_containers[self.socket] = len(monitored_containers) self.data_manager.set(self.socket)