From 38c3061df70374469e8633014555570276100abe Mon Sep 17 00:00:00 2001 From: George Armhold Date: Thu, 26 Oct 2017 14:22:16 -0400 Subject: [PATCH] pass in defaultListMaxItems to b2Backend constructor gh-1385 --- internal/backend/b2/b2.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/backend/b2/b2.go b/internal/backend/b2/b2.go index 4c68953b4..0624c1c3a 100644 --- a/internal/backend/b2/b2.go +++ b/internal/backend/b2/b2.go @@ -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, }