mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 07:27:21 +00:00
Make --validate default on and shows how to turn if off
This commit is contained in:
@@ -141,7 +141,6 @@ func (s *SwaggerSchema) ValidateObject(obj interface{}, apiVersion, fieldName, t
|
||||
}
|
||||
errs := s.validateField(value, apiVersion, fieldName+key, fieldType, &details)
|
||||
if len(errs) > 0 {
|
||||
glog.Errorf("Validation failed for: %s, %v", key, value)
|
||||
allErrs = append(allErrs, errs...)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user