From bdb00daf6a8c612f19dd168b44afb28bd02b1731 Mon Sep 17 00:00:00 2001 From: Matthew Stidham Date: Tue, 6 Apr 2021 13:19:57 -0700 Subject: [PATCH] correct url in influx.py Signed-off-by: Matthew Stidham --- py-json/influx.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py-json/influx.py b/py-json/influx.py index f33c07d0..6698bf5a 100644 --- a/py-json/influx.py +++ b/py-json/influx.py @@ -59,7 +59,7 @@ class RecordInflux(LFCliBase): client.write_points(json_body) def getdata(self): - url = 'http://192.168.1.32:8080/port/1/1/' + url = 'http://'+self.host+':8080/port/1/1/' client = InfluxDBClient(self.host, 8086, self.influx_user,