Closed Logulokesh closed 11 months ago
config: openweather-exporter: image: billykwooten/openweather-exporter container_name: openweather-exporter restart: always expose:
log:
2023-11-02 12:00:43 goroutine 1 [running]: 2023-11-02 12:00:43 github.com/billykwooten/openweather-exporter/geo.GetCoords({0x9ff818?, 0xc0000ae540?}, {0xc00002c008, 0x2a}) 2023-11-02 12:00:43 /go/src/github.com/billykwooten/openweather-exporter/geo/geo.go:28 +0x79 2023-11-02 12:00:43 github.com/billykwooten/openweather-exporter/collector.resolveLocations({0xc00002c008?, 0xc0000c9df0?}) 2023-11-02 12:00:43 /go/src/github.com/billykwooten/openweather-exporter/collector/collector.go:84 +0x14c 2023-11-02 12:00:43 github.com/billykwooten/openweather-exporter/collector.NewOpenweatherCollector({0xc000028058, 0x1}, {0x937c9f, 0x2}, {0xc00002a00a, 0x64}, {0xc00002c008?, 0x7febc0d735b8?}, 0xc00010e0c0, 0x1, ...) 2023-11-02 12:00:43 /go/src/github.com/billykwooten/openweather-exporter/collector/collector.go:104 +0x74 2023-11-02 12:00:43 main.main() 2023-11-02 12:00:43 /go/src/github.com/billykwooten/openweather-exporter/main.go:74 +0x2cf
Hey @Logulokesh, to do multiple cities you need a pipe character, for example |
You're using slashes, please change them and re-open a ticket if the issue continues.
config: openweather-exporter: image: billykwooten/openweather-exporter container_name: openweather-exporter restart: always expose:
log:
2023-11-02 12:00:43 goroutine 1 [running]: 2023-11-02 12:00:43 github.com/billykwooten/openweather-exporter/geo.GetCoords({0x9ff818?, 0xc0000ae540?}, {0xc00002c008, 0x2a}) 2023-11-02 12:00:43 /go/src/github.com/billykwooten/openweather-exporter/geo/geo.go:28 +0x79 2023-11-02 12:00:43 github.com/billykwooten/openweather-exporter/collector.resolveLocations({0xc00002c008?, 0xc0000c9df0?}) 2023-11-02 12:00:43 /go/src/github.com/billykwooten/openweather-exporter/collector/collector.go:84 +0x14c 2023-11-02 12:00:43 github.com/billykwooten/openweather-exporter/collector.NewOpenweatherCollector({0xc000028058, 0x1}, {0x937c9f, 0x2}, {0xc00002a00a, 0x64}, {0xc00002c008?, 0x7febc0d735b8?}, 0xc00010e0c0, 0x1, ...) 2023-11-02 12:00:43 /go/src/github.com/billykwooten/openweather-exporter/collector/collector.go:104 +0x74 2023-11-02 12:00:43 main.main() 2023-11-02 12:00:43 /go/src/github.com/billykwooten/openweather-exporter/main.go:74 +0x2cf