From ef87cadc6725786a91fca3c3287bae6af4f9689d Mon Sep 17 00:00:00 2001 From: Dmitry S <11892559+swift1337@users.noreply.github.com> Date: Fri, 21 Aug 2026 15:16:01 +0200 Subject: [PATCH] mention dry run explicitly to avoid ambiguity --- link/internal/deploy/steps.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/link/internal/deploy/steps.go b/link/internal/deploy/steps.go index d6efac9a3..417b18a3f 100644 --- a/link/internal/deploy/steps.go +++ b/link/internal/deploy/steps.go @@ -37,6 +37,8 @@ type StepResult struct { // RunSteps executes steps in order, skipping satisfied ones. With dryRun it // only reports what would run. Stops at the first error. func RunSteps(ctx context.Context, log *slog.Logger, dryRun bool, steps []Step) ([]StepResult, error) { + log = log.With("dryRun", dryRun) + results := make([]StepResult, 0, len(steps)) for _, step := range steps { if step.Done != nil {