Update cmd/kubeadm/app/preflight/checks.go
Co-authored-by: Lubomir I. Ivanov <neolit123@gmail.com>
This commit is contained in:
parent
7007b417e5
commit
d57bad5fa9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user