address redundant line if new-app error output
@@ -633,8 +633,11 @@ func handleError(err error, baseName, commandName, commandPath string, config *n
fmt.Fprintf(buf, fmt.Sprintf("\n%s: %v\n", classErr.Key, classErr.Value))
}
fmt.Fprint(buf, "\n")
- }
+ // this print serves as a header for the printing of the errorGroups, but
+ // only print it if we precede with classification errors, to help distinguish
+ // between the two
fmt.Fprintln(buf, "Errors occurred during resource creation:")
+ }
for _, group := range groups {
fmt.Fprint(buf, kcmdutil.MultipleErrors("error: ", group.errs))
if len(group.suggestion) > 0 {
