Function logs: Uses proper way to get server URL

After changes related to port forwarding, function logs was getting empty URL, fixed to use the appropriate method instead.
This commit is contained in:
Vishal
2018-03-29 15:26:47 +05:30
committed by GitHub
parent a23f8acffc
commit a8482a8b89
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -98,7 +98,7 @@ func (influx InfluxDB) GetLogs(filter LogFilter) ([]LogEntry, error) {
logEntries := []LogEntry{}
response, err := influx.query(query)
if err != nil {
return logEntries, nil
return logEntries, err
}
for _, r := range response.Results {
for _, series := range r.Series {