Skip to content

Commit

Permalink
Merge 635cb17 into d512a61
Browse files Browse the repository at this point in the history
  • Loading branch information
mohierf committed Jan 16, 2017
2 parents d512a61 + 635cb17 commit e0b5f75
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions alignak_backend/grafana.py
Expand Up @@ -220,6 +220,12 @@ def get_datasource(self):
self.connection = False
return
resp = response.json()
if 'message' in resp:
print("----------")
print("Grafana message: %s" % resp['message'])
print("----------")
return

# get all datasource of grafana
for datasource in iter(resp):
self.datasources[datasource['name']] = datasource
Expand Down

0 comments on commit e0b5f75

Please sign in to comment.