From 0d716f1b2f26417522561e31b64626c802f189e1 Mon Sep 17 00:00:00 2001 From: ankur22 Date: Wed, 31 Jan 2024 16:21:33 +0000 Subject: [PATCH] fixup! Add RemotePersister --- storage/file_persister.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {