mirror of https://github.com/milvus-io/milvus.git
[skip ci] Fix golint of releaseSegments in queryCoord (#11860)
Signed-off-by: xige-16 <xi.ge@zilliz.com>pull/11826/head^2
parent
20a1c9774b
commit
354fd03729
|
@ -249,14 +249,14 @@ func (c *queryNodeCluster) releaseSegments(ctx context.Context, nodeID int64, in
|
||||||
|
|
||||||
err := node.releaseSegments(ctx, in)
|
err := node.releaseSegments(ctx, in)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Debug("ReleaseSegments: queryNode release segments error", zap.Int64("nodeID", nodeID), zap.String("error info", err.Error()))
|
log.Debug("releaseSegments: queryNode release segments error", zap.Int64("nodeID", nodeID), zap.String("error info", err.Error()))
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
return fmt.Errorf("ReleaseSegments: Can't find query node by nodeID, nodeID = %d", nodeID)
|
return fmt.Errorf("releaseSegments: Can't find query node by nodeID, nodeID = %d", nodeID)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *queryNodeCluster) watchDmChannels(ctx context.Context, nodeID int64, in *querypb.WatchDmChannelsRequest) error {
|
func (c *queryNodeCluster) watchDmChannels(ctx context.Context, nodeID int64, in *querypb.WatchDmChannelsRequest) error {
|
||||||
|
|
Loading…
Reference in New Issue