Commit 471fd43f authored by stewart-yu's avatar stewart-yu

fix bad return error text

parent 936bcd13
...@@ -63,7 +63,7 @@ func EnforceVersionPolicies(versionGetter VersionGetter, newK8sVersionStr string ...@@ -63,7 +63,7 @@ func EnforceVersionPolicies(versionGetter VersionGetter, newK8sVersionStr string
kubeletVersions, err := versionGetter.KubeletVersions() kubeletVersions, err := versionGetter.KubeletVersions()
if err != nil { if err != nil {
// This is a non-critical error; continue although kubeadm couldn't look this up // This is a non-critical error; continue although kubeadm couldn't look this up
skewErrors.Skippable = append(skewErrors.Skippable, fmt.Errorf("Unable to fetch kubeadm version: %v", err)) skewErrors.Skippable = append(skewErrors.Skippable, fmt.Errorf("Unable to fetch kubelet version: %v", err))
} }
// Make sure the new version is a supported version (higher than the minimum one supported) // Make sure the new version is a supported version (higher than the minimum one supported)
......
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