Skip to content

Commit

Permalink
fix: fix type issue found by linter
Browse files Browse the repository at this point in the history
Signed-off-by: Frederick Kautz <[email protected]>
  • Loading branch information
fkautz authored and kairoaraujo committed Dec 22, 2023
1 parent 9f65c0f commit a95780a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/objectstorage/blobstore/minio.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func (store *Store) PutBlob(ctx context.Context, idx string, obj []byte) error {
if err != nil {
return fmt.Errorf("failed to put blob: %v", err)
} else if n.Size != size {
return fmt.Errorf("failed to upload full blob: size %d != uploaded size %d", size, n)
return fmt.Errorf("failed to upload full blob: size %d != uploaded size %d", size, n.Size)
}
return nil
}
Expand Down

0 comments on commit a95780a

Please sign in to comment.