Skip to content

Commit f493027

Browse files
committed
small bug fix
1 parent 7582f97 commit f493027

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/orchestrator/repo/repo.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ func (r *RepoOrchestrator) Mount(ctx context.Context) (string, func(), error) {
114114
return "", func() {}, r.mountErr
115115
}
116116

117-
mountCtx, cancel := context.WithCancel(ctx)
117+
mountCtx, cancel := context.WithCancel(context.Background())
118118
if err := r.repo.Mount(mountCtx, r.mountDir, 60*time.Second); err != nil {
119119
r.logger(ctx).Warn("failed to mount repo", zap.Error(err))
120120
r.mountErr = fmt.Errorf("mount repo %v: %w", r.repoConfig.Id, err)

0 commit comments

Comments
 (0)