fix(repository): fixed async write error (#2373)

Fixes #2369
This commit is contained in:
Jarek Kowalski authored and GitHub committed 2022-09-06 14:41:44 +00:00
1 parent 31495392a1
commit 9fc84bb12f
1 file changed
+2 -1
+2 -1
View File
@@ -9,6 +9,7 @@ import (
"github.com/pkg/errors"
"github.com/kopia/kopia/internal/ctxutil"
"github.com/kopia/kopia/internal/feature"
"github.com/kopia/kopia/internal/gather"
"github.com/kopia/kopia/repo/blob"
@@ -401,7 +402,7 @@ func NewManagerWithCache(
}
m := &Manager{
ctx: ctx,
ctx: ctxutil.Detach(ctx),
blobs: st,
validDuration: validDuration,
password: password,