mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-01 11:29:48 +08:00
[skip ci] Fix golint of releaseSegments in queryCoord (#11860)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
This commit is contained in:
parent
20a1c9774b
commit
354fd03729
@ -249,14 +249,14 @@ func (c *queryNodeCluster) releaseSegments(ctx context.Context, nodeID int64, in
|
||||
|
||||
err := node.releaseSegments(ctx, in)
|
||||
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 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 {
|
||||
|
Loading…
Reference in New Issue
Block a user