Skip to content

Commit

Permalink
Merge pull request #1141 from Kixeye/0.9.x-bugfix
Browse files Browse the repository at this point in the history
Fix bug introduced in a835a88 (0.9.x)
  • Loading branch information
obfuscurity committed Feb 10, 2015
2 parents 7b35232 + fdbf03d commit d6908e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webapp/graphite/remote_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,9 @@ def fetch(self, startTime, endTime, now=None, result_queue=None):
connection = HTTPConnectionWithTimeout(self.store.host)
connection.timeout = settings.REMOTE_STORE_FETCH_TIMEOUT
if settings.REMOTE_STORE_USE_POST:
self.connection.request('POST', '/render/', query_string)
connection.request('POST', '/render/', query_string)
else:
self.connection.request('GET', '/render/?' + query_string)
connection.request('GET', '/render/?' + query_string)
response = connection.getresponse()
assert response.status == 200, "Failed to retrieve remote data: %d %s" % (response.status, response.reason)
rawData = response.read()
Expand Down

0 comments on commit d6908e2

Please sign in to comment.