correct url in influx.py

Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
This commit is contained in:
Matthew Stidham
2021-04-06 13:19:57 -07:00
parent bf57a78c8c
commit bdb00daf6a

View File

@@ -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,