[skip ci]Fix golint for getOfflineNodes (#12663)

Signed-off-by: xige-16 <xi.ge@zilliz.com>
This commit is contained in:
xige-16 2021-12-02 22:51:46 +08:00 committed by GitHub
parent e74b033414
commit d237edd846
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -712,7 +712,7 @@ func (c *queryNodeCluster) getOfflineNodes() (map[int64]Node, error) {
}
}
if len(nodes) == 0 {
return nil, errors.New("GetOfflineNodes: no queryNode is offline")
return nil, errors.New("getOfflineNodes: no queryNode is offline")
}
return nodes, nil