Skip to content

Commit

Permalink
Fix bug where state dir was double appended
Browse files Browse the repository at this point in the history
  • Loading branch information
gordon-klotho committed Aug 22, 2024
1 parent 58d73f6 commit 6619347
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/k2/orchestration/up_orchestrator.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 6619347

Please sign in to comment.