Skip to content

Commit

Permalink
fixup! Add RemotePersister
Browse files Browse the repository at this point in the history
  • Loading branch information
ankur22 committed Jan 31, 2024
1 parent 766d2e8 commit 0d716f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/file_persister.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 0d716f1

Please sign in to comment.