fix whitespace around backend init success message

make it better match the surrounding messages.
This commit is contained in:
James Bardin 2017-06-19 10:24:43 -04:00
parent da385c4268
commit 6728c48d8c
1 changed files with 3 additions and 6 deletions

View File

@ -946,8 +946,7 @@ func (m *Meta) backend_C_R_s(
}
m.Ui.Output(m.Colorize().Color(fmt.Sprintf(
"[reset][green]\n\n"+
strings.TrimSpace(successBackendSet), s.Backend.Type)))
"[reset][green]\n"+strings.TrimSpace(successBackendSet), s.Backend.Type)))
return b, nil
}
@ -1050,8 +1049,7 @@ func (m *Meta) backend_C_r_s(
}
m.Ui.Output(m.Colorize().Color(fmt.Sprintf(
"[reset][green]\n\n"+
strings.TrimSpace(successBackendSet), s.Backend.Type)))
"[reset][green]\n"+strings.TrimSpace(successBackendSet), s.Backend.Type)))
// Return the backend
return b, nil
@ -1148,8 +1146,7 @@ func (m *Meta) backend_C_r_S_changed(
if output {
m.Ui.Output(m.Colorize().Color(fmt.Sprintf(
"[reset][green]\n\n"+
strings.TrimSpace(successBackendSet), s.Backend.Type)))
"[reset][green]\n"+strings.TrimSpace(successBackendSet), s.Backend.Type)))
}
return b, nil