fix: zookeeper插件zk_version指标获取失败
This commit is contained in:
parent
c364661025
commit
b35ac90ba8
|
@ -194,7 +194,7 @@ func (ins *Instance) gatherMntrResult(conn net.Conn, slist *list.SafeList, globa
|
|||
}
|
||||
|
||||
kv := strings.Fields(l)
|
||||
if len(kv) != 2 {
|
||||
if len(kv) < 2 {
|
||||
continue
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue