From 354fd037292c9c469ca11d9307ccb02ba7ae77c2 Mon Sep 17 00:00:00 2001 From: xige-16 Date: Tue, 16 Nov 2021 09:33:20 +0800 Subject: [PATCH] [skip ci] Fix golint of releaseSegments in queryCoord (#11860) Signed-off-by: xige-16 --- internal/querycoord/cluster.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/querycoord/cluster.go b/internal/querycoord/cluster.go index b40acec731..8bfc3d586a 100644 --- a/internal/querycoord/cluster.go +++ b/internal/querycoord/cluster.go @@ -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 {