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

This commit is contained in:
2026-08-07 16:59:56 +00:00
parent 68cffba35d
commit 919229f224
2 changed files with 6 additions and 3 deletions

View File

@@ -155,7 +155,8 @@ func (r *RcloneStorer) Delete(ctx context.Context, key string) error {
return fmt.Errorf("getting object: %w", err)
}
if err := obj.Remove(ctx); err != nil {
err = obj.Remove(ctx)
if err != nil {
return fmt.Errorf("removing object: %w", err)
}