add a few comments on exported vars

This commit is contained in:
Yann Hamon 2020-06-06 18:42:44 +02:00
parent 7db0febbd1
commit d9a6468d09
4 changed files with 8 additions and 3 deletions

View file

@ -32,7 +32,7 @@ func (f ValidFormat) IsFormat(input interface{}) bool {
// gojsonschema.FormatCheckers.Add("int-or-string", ValidFormat{})
// }
// Validates a single Kubernetes resource against a Json Schema
// Validate validates a single Kubernetes resource against a Json Schema
func Validate(rawResource []byte, schema *gojsonschema.Schema) error {
if schema == nil {
return nil