这是咋回事儿?求解
will0815 opened this issue · 2 comments
will0815 commented
./falcon-agent -check
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x48 pc=0x73a64e]
goroutine 1 [running]:
github.com/open-falcon/falcon-plus/modules/agent/funcs.DeviceMetrics(0x7f6520, 0xc42010fda0, 0xc42010fca0)
/home/falcon/gopath/src/github.com/open-falcon/falcon-plus/modules/agent/funcs/dfstat.go:21 +0xfe
github.com/open-falcon/falcon-plus/modules/agent/funcs.CheckCollector()
/home/falcon/gopath/src/github.com/open-falcon/falcon-plus/modules/agent/funcs/checker.go:21 +0x1f5
main.main()
/home/falcon/gopath/src/github.com/open-falcon/falcon-plus/modules/agent/main.go:27 +0x1d4
will0815 commented
ok thx