Make output a bit nicer

mine
Joscha Alisch 2020-02-07 20:27:10 +01:00
parent 0e68e92e98
commit e7031ed20a
No known key found for this signature in database
GPG Key ID: FCADD70C266FEEB5
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@ func shellIn(a *App, path, co string) {
log.Debug().Msgf("Shell args %v", args)
c := color.New(color.BgGreen).Add(color.FgBlack).Add(color.Bold)
if !runK(true, a, c.Sprintf("Pod: %s | Container: %s\n\n", path, co), args...) {
if !runK(true, a, c.Sprintf(" Pod: %s | Container: %s \n\n", path, co), args...) {
a.Flash().Err(errors.New("Shell exec failed"))
}
}