Fix noinlineerr findings: internal/snapshot (refs #61)

This commit is contained in:
sneak committed 2026-08-07 16:59:56 +00:00
1 parent 26cbb63749
commit 68cffba35d
6 files changed
+69 -32

No files matched your search

+2 -1
View File
@@ -479,7 +479,8 @@ func (b *BackupEngine) Backup(ctx context.Context, fsys fs.FS, root string) (str
dummyData := []byte(chunkHash)
// Upload to S3 as a blob
if err := b.s3Client.PutBlob(ctx, blobHash, dummyData); err != nil {
err = b.s3Client.PutBlob(ctx, blobHash, dummyData)
if err != nil {
return "", err
}