]> arthur.barton.de Git - netdata.git/commitdiff
Merge pull request #1803 from l2isbad/freeradius_plugin_p26_fix
authorCosta Tsaousis <costa@tsaousis.gr>
Thu, 16 Feb 2017 23:07:37 +0000 (01:07 +0200)
committerGitHub <noreply@github.com>
Thu, 16 Feb 2017 23:07:37 +0000 (01:07 +0200)
freeradius_plugin: python 2.6 compatibility fix2

python.d/freeradius.chart.py

index be5175afcf4fd7d95759b35f717be0c1e5ebafbd..f3de157350f6f09e191d3439a71ce40d86f47c7d 100644 (file)
@@ -76,7 +76,7 @@ class Service(SimpleService):
             self.info('Plugin was started succesfully')
             return True
         else:
-            self.error('Request returned no data. Is server alive? Used options: host {}, port {}, secret {}'.format(self.host, self.port, self.secret))
+            self.error('Request returned no data. Is server alive? Used options: host {0}, port {1}, secret {2}'.format(self.host, self.port, self.secret))
             return False