From ca1278064f01069dc576f6da1083e9d178ae312e Mon Sep 17 00:00:00 2001 From: Andriy Knysh Date: Tue, 23 Oct 2018 00:00:40 -0400 Subject: [PATCH] Fix destroy comment (#16) --- server/events/project_command_runner.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/events/project_command_runner.go b/server/events/project_command_runner.go index 06970a8755..2c3913a1f2 100644 --- a/server/events/project_command_runner.go +++ b/server/events/project_command_runner.go @@ -63,7 +63,7 @@ type PlanSuccess struct { RePlanCmd string // ApplyCmd is the command that users should run to apply this plan. ApplyCmd string - // ApplyCmd is the command that users should run to apply this plan. + // DestroyCmd is the command that users should run to destroy this plan. DestroyCmd string } @@ -183,6 +183,7 @@ func (p *DefaultProjectCommandRunner) doPlan(ctx models.ProjectCommandContext) ( TerraformOutput: strings.Join(outputs, "\n"), RePlanCmd: ctx.RePlanCmd, ApplyCmd: ctx.ApplyCmd, + DestroyCmd: ctx.DestroyCmd, }, "", nil }