Fix noinlineerr findings: internal/storage (refs #61)
This commit is contained in:
1 parent
68cffba35d
commit
919229f224
2 files changed
+6
-3
No files matched your search
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user