-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve the error message when a released schema is changed #4355
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4355 +/- ##
=======================================
Coverage 71.74% 71.74%
=======================================
Files 324 324
Lines 12506 12506
=======================================
Hits 8973 8973
Misses 2965 2965
Partials 568 568 Continue to review full report at Codecov.
|
|
||
"github.com/GoogleContainerTools/skaffold/hack/versions/pkg/schema" | ||
) | ||
|
||
func main() { | ||
if err := schema.RunSchemaCheckOnChangedFiles(); err != nil { | ||
logrus.Fatal(err) | ||
os.Exit(1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't seem right since errors reading config files (lines 50-80) will be silently dropped.
55fd189
to
22bd3c6
Compare
Fixes GoogleContainerTools#4168 Signed-off-by: David Gageot <[email protected]>
@briandealwis Can you TAL again? Thanks! |
Fixes #4168
Old message:
New message:
Signed-off-by: David Gageot [email protected]