fix: add space before "in namespace" output (#650)

This commit is contained in:
Timur Girgin
2021-10-15 15:48:58 -04:00
committed by GitHub
parent 0f1d4cd952
commit 5acdc4a4b9

View File

@@ -166,7 +166,7 @@ func (res AuditData) GetPrettyOutput(useColor bool) string {
func (res Result) GetPrettyOutput() string {
str := titleColor.Sprint(fmt.Sprintf("%s %s", res.Kind, res.Name))
if res.Namespace != "" {
str += titleColor.Sprint(fmt.Sprintf("in namespace %s", res.Namespace))
str += titleColor.Sprint(fmt.Sprintf(" in namespace %s", res.Namespace))
}
str += "\n"
str += res.Results.GetPrettyOutput()