Skip to content

Commit

Permalink
style: format code with Prettier and Gofumpt
Browse files Browse the repository at this point in the history
This commit fixes the style issues introduced in c860ddc according to the output
from Prettier and Gofumpt.

Details: #2194
  • Loading branch information
deepsource-autofix[bot] authored Sep 20, 2023
1 parent c860ddc commit 2c2bb09
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/index/job/correction/service/corrector.go
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,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)
Expand Down

0 comments on commit 2c2bb09

Please sign in to comment.