mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
cleanup: delete unused func
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
This commit is contained in:
parent
3d8317ae91
commit
221396ac35
@ -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