2
2
mirror of https://github.com/octoleo/restic.git synced 2024-06-06 02:50:50 +00:00

azure: Fix missing rate limiting

This commit is contained in:
Michael Eischer 2023-05-18 20:07:47 +02:00
parent a466e945d9
commit 16ba237d8b

View File

@ -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},
}, },
} }