From a184b22326e462639740ac6abe2a42be660df267 Mon Sep 17 00:00:00 2001 From: ykadowak Date: Wed, 20 Sep 2023 02:43:50 +0000 Subject: [PATCH] fix var style --- pkg/index/job/correction/service/corrector.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/index/job/correction/service/corrector.go b/pkg/index/job/correction/service/corrector.go index 0a0279fb40..c828dd2be9 100644 --- a/pkg/index/job/correction/service/corrector.go +++ b/pkg/index/job/correction/service/corrector.go @@ -348,9 +348,9 @@ func (c *correct) correctTimestamp(ctx context.Context, targetReplica *vectorRep }) latest := allReplicas[0] - latestTs := latest.vec.GetTimestamp() + latestTS := latest.vec.GetTimestamp() for _, replica := range allReplicas { - if replica.vec.GetTimestamp() == latestTs { + if replica.vec.GetTimestamp() == latestTS { // no inconsistency continue }