mirror of
https://github.com/octoleo/restic.git
synced 2024-12-22 19:08:55 +00:00
Merge pull request #1391 from armhold/b2-listmax
pass in defaultListMaxItems to b2Backend constructor
This commit is contained in:
commit
c71ba466ea
@ -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 New Issue
Block a user