gebn/bmc_exporter

Send on closed channel while shutting down

gebn opened this issue · 0 comments

gebn commented
2019/08/25 15:54:59 waiting for in-progress requests to finish...
panic: send on closed channel

goroutine 33775 [running]:
github.com/gebn/bmc_exporter/target.(*Target).Close(...)
        external/com_github_gebn_bmc_exporter/target/target.go:92
github.com/gebn/bmc_exporter/handler/bmc.(*Mapper).closeTargets.func1(0xc000348090, 0xc0006446a0)
        external/com_github_gebn_bmc_exporter/handler/bmc/mapper.go:202 +0x6c
created by github.com/gebn/bmc_exporter/handler/bmc.(*Mapper).closeTargets
        external/com_github_gebn_bmc_exporter/handler/bmc/mapper.go:198 +0x2d0