[skip ci] Fix golint of releaseSegments in queryCoord (#11860)

Signed-off-by: xige-16 <xi.ge@zilliz.com>
pull/11826/head^2
xige-16 2021-11-16 09:33:20 +08:00 committed by GitHub
parent 20a1c9774b
commit 354fd03729
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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 {