mirror of https://github.com/k3s-io/k3s
![]() Automatic merge from submit-queue Validation: Make validation func return error strings Part of an ongoing series of validation cleanups. This centralizes the error strings next to the code that checks the error conditions. Future commits will refine the messages further and provide more utility validators. I'm OK if this doesn't go into 1.2, but I am tired of rebasing :) I suggest commit-by-commit review, which should go pretty quickly. This was largely mechanical. <!-- Reviewable:start --> --- This change is [<img src="http://reviewable.k8s.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](http://reviewable.k8s.io/reviews/kubernetes/kubernetes/21240) <!-- Reviewable:end --> |
||
---|---|---|
.. | ||
testdata/v1 | ||
doc.go | ||
events.go | ||
events_test.go | ||
name.go | ||
name_test.go | ||
schema.go | ||
schema_test.go | ||
validation.go | ||
validation_test.go |