mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-06 17:18:35 +08:00
[skip ci] Fix golint of removeQueryChannel in queryCoord (#11941)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
This commit is contained in:
parent
544f1da95b
commit
7908045a28
@ -342,14 +342,14 @@ func (c *queryNodeCluster) removeQueryChannel(ctx context.Context, nodeID int64,
|
||||
if node, ok := c.nodes[nodeID]; ok {
|
||||
err := node.removeQueryChannel(ctx, in)
|
||||
if err != nil {
|
||||
log.Debug("RemoveQueryChannel: queryNode remove query channel error", zap.String("error", err.Error()))
|
||||
log.Debug("removeQueryChannel: queryNode remove query channel error", zap.String("error", err.Error()))
|
||||
return err
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
return fmt.Errorf("RemoveQueryChannel: can't find query node by nodeID, nodeID = %d", nodeID)
|
||||
return fmt.Errorf("removeQueryChannel: can't find query node by nodeID, nodeID = %d", nodeID)
|
||||
}
|
||||
|
||||
func (c *queryNodeCluster) releaseCollection(ctx context.Context, nodeID int64, in *querypb.ReleaseCollectionRequest) error {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user