make comment clearer

Signed-off-by: Joe Julian <me@joejulian.name>
pull/8608/head
Joe Julian 5 years ago
parent 4541ab9bed
commit 1d6c44d9d2
No known key found for this signature in database
GPG Key ID: FAB12BE0575D999B

@ -44,7 +44,7 @@ func (e deprecatedAPIError) Error() string {
}
func validateNoDeprecations(resource *K8sYamlStruct) error {
// resource is not a resource
// if `resource` does not have an APIVersion or Kind, we cannot test it for deprecation
if resource.APIVersion == "" {
return nil
}

Loading…
Cancel
Save