From 4c5151cdb29452eee4b7fef50d949fb0b8e365dc Mon Sep 17 00:00:00 2001 From: vanesa Date: Tue, 27 Sep 2016 16:13:11 +0200 Subject: [PATCH] fix indentation --- jenkins_exporter.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/jenkins_exporter.py b/jenkins_exporter.py index 77c885d..8b7eab1 100755 --- a/jenkins_exporter.py +++ b/jenkins_exporter.py @@ -86,10 +86,10 @@ def _setup_empty_prometheus_metrics(self): } def _get_metrics(self, name, job): - for status in self.statuses: - if status in job.keys(): - status_data = job[status] or {} - self._add_data_to_prometheus_structure(status, status_data, job, name) + for status in self.statuses: + if status in job.keys(): + status_data = job[status] or {} + self._add_data_to_prometheus_structure(status, status_data, job, name) def _add_data_to_prometheus_structure(self, status, status_data, job, name): # If there's a null result, we want to pass.