Skip to content
This repository has been archived by the owner on May 2, 2022. It is now read-only.

Commit

Permalink
fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
vanesa committed Sep 27, 2016
1 parent c81e140 commit 4c5151c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions jenkins_exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 4c5151c

Please sign in to comment.