未验证 提交 20a1c977 编写于 作者: X xige-16 提交者: GitHub

[skip ci] Fix golint of loadSegments in queryCoord (#11859)

Signed-off-by: Nxige-16 <xi.ge@zilliz.com>
上级 94d516bc
......@@ -229,13 +229,13 @@ func (c *queryNodeCluster) loadSegments(ctx context.Context, nodeID int64, in *q
if node, ok := c.nodes[nodeID]; ok {
err := node.loadSegments(ctx, in)
if err != nil {
log.Debug("LoadSegments: queryNode load segments error", zap.Int64("nodeID", nodeID), zap.String("error info", err.Error()))
log.Debug("loadSegments: queryNode load segments error", zap.Int64("nodeID", nodeID), zap.String("error info", err.Error()))
return err
}
return nil
}
return fmt.Errorf("LoadSegments: Can't find query node by nodeID, nodeID = %d", nodeID)
return fmt.Errorf("loadSegments: Can't find query node by nodeID, nodeID = %d", nodeID)
}
func (c *queryNodeCluster) releaseSegments(ctx context.Context, nodeID int64, in *querypb.ReleaseSegmentsRequest) error {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册