forked from TrueCloudLab/restic
pass in defaultListMaxItems to b2Backend constructor
gh-1385
This commit is contained in:
parent
e44ac55f63
commit
38c3061df7
1 changed files with 2 additions and 0 deletions
|
@ -70,6 +70,7 @@ func Open(cfg Config, rt http.RoundTripper) (restic.Backend, error) {
|
||||||
Join: path.Join,
|
Join: path.Join,
|
||||||
Path: cfg.Prefix,
|
Path: cfg.Prefix,
|
||||||
},
|
},
|
||||||
|
listMaxItems: defaultListMaxItems,
|
||||||
sem: sem,
|
sem: sem,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -110,6 +111,7 @@ func Create(cfg Config, rt http.RoundTripper) (restic.Backend, error) {
|
||||||
Join: path.Join,
|
Join: path.Join,
|
||||||
Path: cfg.Prefix,
|
Path: cfg.Prefix,
|
||||||
},
|
},
|
||||||
|
listMaxItems: defaultListMaxItems,
|
||||||
sem: sem,
|
sem: sem,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue