mirror of
https://github.com/kubernetes/sample-controller.git
synced 2026-05-01 00:00:03 +08:00
code-generator: align models-schema stderr output
Kubernetes-commit: 7ce54af8fce74a948c59dc8033d830b987e1ca76
This commit is contained in:
committed by
Kubernetes Publisher
parent
c4e56d49f6
commit
df60a5db6c
@@ -30,7 +30,7 @@ import (
|
|||||||
func main() {
|
func main() {
|
||||||
err := output()
|
err := output()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
os.Stderr.WriteString(fmt.Sprintf("Failed: %v", err)) // nolint:errcheck
|
fmt.Fprintf(os.Stderr, "Failed: %v", err) // nolint:errcheck
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user