Update cmd/kubeadm/app/preflight/checks.go

Co-authored-by: Lubomir I. Ivanov <neolit123@gmail.com>
This commit is contained in:
Paco Xu 2021-09-10 09:43:59 +08:00
parent 7007b417e5
commit d57bad5fa9

View File

@ -668,7 +668,7 @@ func (swc SwapCheck) Check() (warnings, errorList []error) {
}
if len(buf) > 1 {
return []error{errors.New("swap is enabled; production deployments should disable swap unless testing NodeSwap feature.")}, nil
return []error{errors.New("swap is enabled; production deployments should disable swap unless testing the NodeSwap feature gate of the kubelet")}, nil
}
return nil, nil