ipfs-plugin: change HTTP method to make it compatible with ipfs 0.5.0+ (#9248)
@RubenKelevra committed
Jul 2, 2020 at 13:09 UTC
05077450d18765b8bb66469d42a0da0b6a1ee610
1 file changed
+1
collectors/python.d.plugin/ipfs/ipfs.chart.py
+1
@@ -63,6 +63,7 @@ class Service(UrlService):
63
self.order = ORDER
64
self.definitions = CHARTS
65
self.baseurl = self.configuration.get('url', 'http://localhost:5001')
66
+ self.method = "POST"
67
self.do_pinapi = self.configuration.get('pinapi')
68
self.__storage_max = None
69