mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-28 01:41:48 -06:00
PR Feedback: cleanup variable setter
This commit is contained in:
parent
f8256f6634
commit
0cd9490838
@ -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)))
|
||||
|
Loading…
Reference in New Issue
Block a user