From 661934798c5af12a560eb0bd3d97008b503677aa Mon Sep 17 00:00:00 2001 From: Gordon Date: Thu, 22 Aug 2024 13:09:55 -0400 Subject: [PATCH] Fix bug where state dir was double appended --- pkg/k2/orchestration/up_orchestrator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/k2/orchestration/up_orchestrator.go b/pkg/k2/orchestration/up_orchestrator.go index a30028ef..1cf4b170 100644 --- a/pkg/k2/orchestration/up_orchestrator.go +++ b/pkg/k2/orchestration/up_orchestrator.go @@ -146,7 +146,7 @@ func (uo *UpOrchestrator) executeAction(ctx context.Context, c model.ConstructSt ctx = ConstructContext(ctx, *c.URN) if debugDir := debug.GetDebugDir(ctx); debugDir != "" { - ctx = debug.WithDebugDir(ctx, filepath.Join(debugDir, outDir)) + ctx = debug.WithDebugDir(ctx, filepath.Join(debugDir, c.URN.ResourceID)) } prog := tui.GetProgress(ctx) prog.UpdateIndeterminate(fmt.Sprintf("Starting %s", action))