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.
|
// still the final thing shown.
|
||||||
c.showDiagnostics(diags)
|
c.showDiagnostics(diags)
|
||||||
_, cloud := back.(*cloud.Cloud)
|
_, cloud := back.(*cloud.Cloud)
|
||||||
output := ""
|
output := outputInitSuccess
|
||||||
if cloud {
|
if cloud {
|
||||||
output = outputInitSuccessCloud
|
output = outputInitSuccessCloud
|
||||||
} else {
|
|
||||||
output = outputInitSuccess
|
|
||||||
}
|
}
|
||||||
|
|
||||||
c.Ui.Output(c.Colorize().Color(strings.TrimSpace(output)))
|
c.Ui.Output(c.Colorize().Color(strings.TrimSpace(output)))
|
||||||
|
|
Loading…
Reference in New Issue