Skip to content

Commit

Permalink
use default http client in default
Browse files Browse the repository at this point in the history
Signed-off-by: Leavrth <jianjun.liao@outlook.com>
  • Loading branch information
Leavrth committed Aug 16, 2023
1 parent dceea44 commit a439ba2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions br/pkg/storage/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,6 @@ func New(ctx context.Context, backend *backuppb.StorageBackend, opts *ExternalSt
if opts == nil {
opts = &ExternalStorageOptions{}
}
if opts.HTTPClient == nil {
opts.HTTPClient = GetDefaultHttpClient(DefaultRequestConcurrency)
}
switch backend := backend.Backend.(type) {
case *backuppb.StorageBackend_Local:
if backend.Local == nil {
Expand Down

0 comments on commit a439ba2

Please sign in to comment.