src/go/plugin/go.d/modules/megacli/collect_bbu.go
Function parseBBUInfo
has 56 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func parseBBUInfo(bs []byte) (map[string]*megaBBU, error) {
bbus := make(map[string]*megaBBU)
var section string
var bbu *megaBBU