Fix test < sign

This commit is contained in:
Guillaume 2023-06-14 23:07:03 +02:00
parent 6721e05387
commit 07b3c6dd48

View File

@ -83,7 +83,7 @@ approve_kubelet_certificates() {
kctl certificate approve $csrs kctl certificate approve $csrs
fi fi
((tries--)) ((tries--))
if [ "$tries" < 1 ]; then if [ "$tries" -lt "1" ]; then
pinfo "Timeout waiting for kubelet certificates creation, please investigate why all nodes are not up by now" pinfo "Timeout waiting for kubelet certificates creation, please investigate why all nodes are not up by now"
break break
fi fi