From c7121272f40b5bc8aeeca023b0f1758afc6bd51d Mon Sep 17 00:00:00 2001 From: Oscar Romeu Date: Sun, 5 Dec 2021 21:45:54 +0100 Subject: [PATCH] Changed inflxudb meteocat database name --- examples/influxdb/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/influxdb/main.go b/examples/influxdb/main.go index c2da7e9..86455ba 100644 --- a/examples/influxdb/main.go +++ b/examples/influxdb/main.go @@ -245,7 +245,7 @@ func main() { str := fmt.Sprintf("%s-%s-%sT%s:%s:%s", p.Any, p.Mes, p.Dia, p.Hour, p.Minute, p.Seconds) tt, err := time.Parse(layout, str) - writeAPI := c.WriteAPIBlocking("", "test/autogen") + writeAPI := c.WriteAPIBlocking("", "meteocat/autogen") for _, v := range d.OpenData { Tags["codi_estacio"] = v.CodiEstacio