Merge pull request #87384 from yuxiaobo96/k8s-cleanup

cleanup: delete unused func
This commit is contained in:
Kubernetes Prow Robot 2020-01-30 16:58:47 -08:00 committed by GitHub
commit 0b18af6d43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -914,12 +914,3 @@ func highestSupportedVersion(versions []string) (*utilversion.Version, error) {
}
return highestSupportedVersion, nil
}
func isV0Version(version string) bool {
parsedVersion, err := utilversion.ParseGeneric(version)
if err != nil {
return false
}
return parsedVersion.Major() == 0
}