mirror of https://github.com/k3s-io/k3s
Make FAIL_SWAP_ON warning message clear
When operating local-up-cluster.sh to prepare e2e tests, the warning message can be output. This commit makes the message clear.pull/8/head
parent
6cd3c08458
commit
aa6e5c8d42
|
@ -141,7 +141,7 @@ fi
|
||||||
|
|
||||||
# warn if users are running with swap allowed
|
# warn if users are running with swap allowed
|
||||||
if [ "${FAIL_SWAP_ON}" == "false" ]; then
|
if [ "${FAIL_SWAP_ON}" == "false" ]; then
|
||||||
echo "WARNING : The kubelet is configured to not fail if swap is enabled; production deployments should disable swap."
|
echo "WARNING : The kubelet is configured to not fail even if swap is enabled; production deployments should disable swap."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$(id -u)" != "0" ]; then
|
if [ "$(id -u)" != "0" ]; then
|
||||||
|
|
Loading…
Reference in New Issue