From 9cbf6645b10404a97b83ad5688b7be5ea52759d5 Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Tue, 19 Sep 2023 08:45:28 +0000 Subject: [PATCH] style: format code with Prettier and Gofumpt This commit fixes the style issues introduced in 4dc4801 according to the output from Prettier and Gofumpt. Details: https://github.com/vdaas/vald/pull/2152 --- pkg/index/job/correction/service/corrector.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/index/job/correction/service/corrector.go b/pkg/index/job/correction/service/corrector.go index 9bee36eec5..a5e75eff2e 100644 --- a/pkg/index/job/correction/service/corrector.go +++ b/pkg/index/job/correction/service/corrector.go @@ -281,7 +281,6 @@ func (c *correct) checkConsistency(ctx context.Context, targetReplica *vectorRep Id: targetReplica.vec.GetId(), }, }) - if err != nil { if st, ok := status.FromError(err); !ok { log.Errorf("gRPC call returned not a gRPC status error: %v", err)