summaryrefslogtreecommitdiff
path: root/generator/app.go
diff options
context:
space:
mode:
authorDavid Hovey <david@hoveytech.com>2019-09-25 16:48:08 -0700
committerDavid Hovey <david@hoveytech.com>2019-09-25 16:48:08 -0700
commit72c7370548a65efcea9a9ba57c59cd10fa6e7530 (patch)
treef549d6eb1ea92ea3eb11c062c4aa5c485206c567 /generator/app.go
parent1250c9771e9a5f0cb6aab40e746612d5c5a670bb (diff)
parent0b070cdc882e6b8f38aae95fcf4c18a983a61f36 (diff)
Merge branch 'master' of github.com:kubernetes/community
Diffstat (limited to 'generator/app.go')
-rw-r--r--generator/app.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/generator/app.go b/generator/app.go
index 371add2a..a5f05b1f 100644
--- a/generator/app.go
+++ b/generator/app.go
@@ -468,9 +468,9 @@ func main() {
errs := ctx.Validate()
if len(errs) != 0 {
for _, err := range errs {
- fmt.Printf("NOTICE: %s\n", err.Error())
+ fmt.Printf("ERROR: %s\n", err.Error())
}
- fmt.Println("NOTICE: validation errors are ignored at present")
+ os.Exit(1)
}
// Write the Context struct back to yaml to enforce formatting