forked from TrueCloudLab/restic
Azure: Use default HTTP transport
This commit is contained in:
parent
d973aa82fe
commit
618ce115d7
1 changed files with 3 additions and 0 deletions
|
@ -3,6 +3,7 @@ package azure
|
|||
import (
|
||||
"context"
|
||||
"io"
|
||||
"net/http"
|
||||
"os"
|
||||
"path"
|
||||
"strings"
|
||||
|
@ -35,6 +36,8 @@ func open(cfg Config) (*Backend, error) {
|
|||
return nil, errors.Wrap(err, "NewBasicClient")
|
||||
}
|
||||
|
||||
client.HTTPClient = &http.Client{Transport: backend.Transport()}
|
||||
|
||||
service := client.GetBlobService()
|
||||
|
||||
sem, err := backend.NewSemaphore(cfg.Connections)
|
||||
|
|
Loading…
Reference in a new issue