From 4294c7d2f96480313bdd2cc84236bdf35d0ae3fa Mon Sep 17 00:00:00 2001 From: mcrakhman Date: Mon, 2 Jan 2023 11:31:43 +0100 Subject: [PATCH] Remove unnecessary context cleanup --- common/commonspace/space.go | 1 - 1 file changed, 1 deletion(-) diff --git a/common/commonspace/space.go b/common/commonspace/space.go index 7b5b6f45..68940637 100644 --- a/common/commonspace/space.go +++ b/common/commonspace/space.go @@ -339,7 +339,6 @@ func (s *space) putTree(ctx context.Context, payload treestorage.TreeStorageCrea t, err = synctree.PutSyncTree(ctx, payload, deps) // this can happen only for derived trees, when we've synced same tree already if err == treestorage.ErrTreeExists { - ctx = context.WithValue(ctx, treePayloadKey, nil) return synctree.BuildSyncTreeOrGetRemote(ctx, payload.RootRawChange.Id, deps) } return