From a95780a88d8b505a23b0619ea6f1288ddd8dd540 Mon Sep 17 00:00:00 2001 From: Frederick Kautz Date: Sun, 17 Dec 2023 18:57:08 -0800 Subject: [PATCH] fix: fix type issue found by linter Signed-off-by: Frederick Kautz --- internal/objectstorage/blobstore/minio.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/objectstorage/blobstore/minio.go b/internal/objectstorage/blobstore/minio.go index 81b55a66..6335a95e 100644 --- a/internal/objectstorage/blobstore/minio.go +++ b/internal/objectstorage/blobstore/minio.go @@ -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 }