From 0b03c320d5377bc13a915edf5be90cdbef008423 Mon Sep 17 00:00:00 2001 From: Gareth Date: Sat, 16 Aug 2025 01:04:15 -0700 Subject: [PATCH] small bug fix --- internal/orchestrator/repo/repo.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/orchestrator/repo/repo.go b/internal/orchestrator/repo/repo.go index 314a93a5..345775df 100644 --- a/internal/orchestrator/repo/repo.go +++ b/internal/orchestrator/repo/repo.go @@ -114,7 +114,7 @@ func (r *RepoOrchestrator) Mount(ctx context.Context) (string, func(), error) { return "", func() {}, r.mountErr } - mountCtx, cancel := context.WithCancel(ctx) + mountCtx, cancel := context.WithCancel(context.Background()) if err := r.repo.Mount(mountCtx, r.mountDir, 60*time.Second); err != nil { r.logger(ctx).Warn("failed to mount repo", zap.Error(err)) r.mountErr = fmt.Errorf("mount repo %v: %w", r.repoConfig.Id, err)