mirror of
https://github.com/octoleo/restic.git
synced 2025-01-04 15:45:24 +00:00
azure: Fix missing rate limiting
This commit is contained in:
parent
a466e945d9
commit
16ba237d8b
@ -51,7 +51,7 @@ func open(cfg Config, rt http.RoundTripper) (*Backend, error) {
|
|||||||
url := fmt.Sprintf("https://%s.blob.core.windows.net/%s", cfg.AccountName, cfg.Container)
|
url := fmt.Sprintf("https://%s.blob.core.windows.net/%s", cfg.AccountName, cfg.Container)
|
||||||
opts := &azContainer.ClientOptions{
|
opts := &azContainer.ClientOptions{
|
||||||
ClientOptions: azcore.ClientOptions{
|
ClientOptions: azcore.ClientOptions{
|
||||||
Transport: http.DefaultClient,
|
Transport: &http.Client{Transport: rt},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user