diff --git a/pkg/util/cmdutil/exit.go b/pkg/util/cmdutil/exit.go index 43fcd64e0..ee4fb7e07 100644 --- a/pkg/util/cmdutil/exit.go +++ b/pkg/util/cmdutil/exit.go @@ -135,7 +135,7 @@ func errorMessage(err error) string { } msg := fmt.Sprintf("%d errors occurred:", len(wr)) for i, werr := range wr { - msg += fmt.Sprintf("\n %d) %s", i, errorMessage(werr)) + msg += fmt.Sprintf("\n %d) %s", i+1, errorMessage(werr)) } return msg }