Skip to content

Commit

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

Details: #2579
  • Loading branch information
deepsource-autofix[bot] authored Sep 1, 2024
1 parent 1a6c9b1 commit 4bcf0a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/index/job/correction/service/corrector.go
Original file line number Diff line number Diff line change
Expand Up @@ -465,8 +465,8 @@ func (c *correct) correctTimestamp(
) (any, error) {
client := vc.NewValdClient(conn)
_, err := client.UpdateTimestamp(ctx, &payload.Update_TimestampRequest{
Id: latestObject.GetId(),
Timestamp: latestObject.GetTimestamp(),
Id: latestObject.GetId(),
Timestamp: latestObject.GetTimestamp(),
}, copts...)
if err != nil {
if st, ok := status.FromError(err); !ok || st == nil {
Expand Down

0 comments on commit 4bcf0a1

Please sign in to comment.