From de36f88c6da18dc0f22eff437388bb3d45d77a38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Rossigneux?= Date: Wed, 4 Sep 2013 15:46:39 +0200 Subject: [PATCH] Fixes a bug in Kwapi pollster Change-Id: If9403f34059330aca78fb60a0bfcb7af38fb5108 --- ceilometer/energy/kwapi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ceilometer/energy/kwapi.py b/ceilometer/energy/kwapi.py index 5fce0037a..737c95847 100644 --- a/ceilometer/energy/kwapi.py +++ b/ceilometer/energy/kwapi.py @@ -43,7 +43,7 @@ class KwapiClient(object): if self.token is not None: headers = {'X-Auth-Token': self.token} request = requests.get(probes_url, headers=headers) - message = request.json + message = request.json() probes = message['probes'] for key, value in probes.iteritems(): probe_dict = value