mirror of
https://github.com/restic/restic.git
synced 2025-08-12 15:07:53 +00:00
pass in defaultListMaxItems to b2Backend constructor
gh-1385
This commit is contained in:
@@ -70,6 +70,7 @@ func Open(cfg Config, rt http.RoundTripper) (restic.Backend, error) {
|
||||
Join: path.Join,
|
||||
Path: cfg.Prefix,
|
||||
},
|
||||
listMaxItems: defaultListMaxItems,
|
||||
sem: sem,
|
||||
}
|
||||
|
||||
@@ -110,6 +111,7 @@ func Create(cfg Config, rt http.RoundTripper) (restic.Backend, error) {
|
||||
Join: path.Join,
|
||||
Path: cfg.Prefix,
|
||||
},
|
||||
listMaxItems: defaultListMaxItems,
|
||||
sem: sem,
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user