mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +00:00
Merge pull request #87384 from yuxiaobo96/k8s-cleanup
cleanup: delete unused func
This commit is contained in:
commit
0b18af6d43
@ -914,12 +914,3 @@ func highestSupportedVersion(versions []string) (*utilversion.Version, error) {
|
|||||||
}
|
}
|
||||||
return highestSupportedVersion, nil
|
return highestSupportedVersion, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func isV0Version(version string) bool {
|
|
||||||
parsedVersion, err := utilversion.ParseGeneric(version)
|
|
||||||
if err != nil {
|
|
||||||
return false
|
|
||||||
}
|
|
||||||
|
|
||||||
return parsedVersion.Major() == 0
|
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user