Skip to content

Commit

Permalink
Remove unused creation method
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaptic committed Jan 5, 2024
1 parent 3bfd4b3 commit 5691d2f
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions support/storage/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,14 +126,6 @@ func (b *HttpStorage) makeSendRequest(method, url string) (*http.Response, error
return resp, err
}

func makeHttpStorage(base *url.URL, opts ConnectOptions) Storage {
return &HttpStorage{
ctx: opts.Context,
userAgent: opts.UserAgent,
base: *base,
}
}

func checkResp(r *http.Response) error {
if r.StatusCode >= 200 && r.StatusCode < 400 {
return nil
Expand Down

0 comments on commit 5691d2f

Please sign in to comment.