This commit is contained in:
George Armhold 2017-10-26 16:37:11 -04:00
parent 38c3061df7
commit bd0ada7842
1 changed files with 2 additions and 2 deletions

View File

@ -71,7 +71,7 @@ func Open(cfg Config, rt http.RoundTripper) (restic.Backend, error) {
Path: cfg.Prefix, Path: cfg.Prefix,
}, },
listMaxItems: defaultListMaxItems, listMaxItems: defaultListMaxItems,
sem: sem, sem: sem,
} }
return be, nil return be, nil
@ -112,7 +112,7 @@ func Create(cfg Config, rt http.RoundTripper) (restic.Backend, error) {
Path: cfg.Prefix, Path: cfg.Prefix,
}, },
listMaxItems: defaultListMaxItems, listMaxItems: defaultListMaxItems,
sem: sem, sem: sem,
} }
present, err := be.Test(context.TODO(), restic.Handle{Type: restic.ConfigFile}) present, err := be.Test(context.TODO(), restic.Handle{Type: restic.ConfigFile})