diff --git a/storage/file_persister.go b/storage/file_persister.go index 0b0955f85..190bf5bdd 100644 --- a/storage/file_persister.go +++ b/storage/file_persister.go @@ -100,7 +100,7 @@ func (r *RemoteFilePersister) Persist(ctx context.Context, path string, data io. return fmt.Errorf("uploading status code out of range: %w", err) } - return err + return nil } func checkStatusCode(resp *http.Response) error {