Commit c3fad6ec authored by Di Xu's avatar Di Xu

fix error tests due to version bumping of etcd and supported k8s

parent 563c9979
......@@ -279,7 +279,7 @@ func GetAvailableUpgrades(versionGetterImpl VersionGetter, experimentalUpgradesA
}
func getBranchFromVersion(version string) string {
return strings.TrimPrefix(version, "v")[:3]
return strings.TrimPrefix(version, "v")[:4]
}
func patchVersionBranchExists(clusterVersion, stableVersion *version.Version) bool {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment