From 0cd94908388cb2a586c6d29d2dc6fc2ec5d1f216 Mon Sep 17 00:00:00 2001 From: Barrett Clark Date: Mon, 18 Oct 2021 09:03:38 -0500 Subject: [PATCH] PR Feedback: cleanup variable setter --- internal/command/init.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/internal/command/init.go b/internal/command/init.go index 3de1d41013..9065b13594 100644 --- a/internal/command/init.go +++ b/internal/command/init.go @@ -306,11 +306,9 @@ func (c *InitCommand) Run(args []string) int { // still the final thing shown. c.showDiagnostics(diags) _, cloud := back.(*cloud.Cloud) - output := "" + output := outputInitSuccess if cloud { output = outputInitSuccessCloud - } else { - output = outputInitSuccess } c.Ui.Output(c.Colorize().Color(strings.TrimSpace(output)))