mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[skip ci] Fix golint of addQueryChannel in queryCoord (#11940)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
This commit is contained in:
parent
acd75c312a
commit
544f1da95b
@ -327,13 +327,13 @@ func (c *queryNodeCluster) addQueryChannel(ctx context.Context, nodeID int64, in
|
||||
if node, ok := c.nodes[nodeID]; ok {
|
||||
err := node.addQueryChannel(ctx, in)
|
||||
if err != nil {
|
||||
log.Debug("AddQueryChannel: queryNode add query channel error", zap.String("error", err.Error()))
|
||||
log.Debug("addQueryChannel: queryNode add query channel error", zap.String("error", err.Error()))
|
||||
return err
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
return fmt.Errorf("AddQueryChannel: can't find query node by nodeID, nodeID = %d", nodeID)
|
||||
return fmt.Errorf("addQueryChannel: can't find query node by nodeID, nodeID = %d", nodeID)
|
||||
}
|
||||
func (c *queryNodeCluster) removeQueryChannel(ctx context.Context, nodeID int64, in *querypb.RemoveQueryChannelRequest) error {
|
||||
c.Lock()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user