-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
exporter started crashing with 0.11.0 #85
Comments
i can confirm that version 0.11 gives an error |
Should be fixed by #86, released in v0.11.1, I'll look at updating the test suite to catch stuff like this in the future! |
hi,
Did an upgrade from 0.10.0 to 0.11.0 (running in k3s, but also tested with podman), and the image fails on startup with this error:
Works fine if I rollback the release to 0.10.0.
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x60 pc=0x7e106c]
goroutine 1 [running]:
github.com/prometheus/client_golang/prometheus.(*Registry).Register(0xc0000cc730, {0xa08890?, 0xc00029e690?})
github.com/prometheus/client_golang@v1.9.0/prometheus/registry.go:291 +0x26c
github.com/prometheus/client_golang/prometheus.(*Registry).MustRegister(0xc0001a0680?, {0xc00029c890?, 0x1, 0x0?})
github.com/prometheus/client_golang@v1.9.0/prometheus/registry.go:402 +0x53
github.com/prometheus/client_golang/prometheus.MustRegister(...)
github.com/prometheus/client_golang@v1.9.0/prometheus/registry.go:178
github.com/charlie-haley/omada_exporter/cmd.run(0xc0001b4640?)
github.com/charlie-haley/omada_exporter@v0.11.0/cmd/exporter.go:93 +0x27d
github.com/urfave/cli/v2.(*App).RunContext(0xc000196340, {0xa0a868?, 0xc0000b4000}, {0xc00009e1f0, 0x1, 0x1})
github.com/urfave/cli/v2@v2.3.0/app.go:322 +0x97c
github.com/urfave/cli/v2.(*App).Run(...)
github.com/urfave/cli/v2@v2.3.0/app.go:224
github.com/charlie-haley/omada_exporter/cmd.Run()
github.com/charlie-haley/omada_exporter@v0.11.0/cmd/exporter.go:54 +0xb34
main.main()
github.com/charlie-haley/omada_exporter@v0.11.0/main.go:8 +0x17
The text was updated successfully, but these errors were encountered: