Skip to content

Commit e4b8505

Browse files
author
Martin Jackson
committed
Add 0 to make log prettier
1 parent 832ba34 commit e4b8505

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

charts/hub/edge-gitops-vms/templates/job-waitForMetalNode.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ spec:
1818
while [ 1 ];
1919
do
2020
nodes=$(oc get machineset -n openshift-machine-api -l 'edge-gitops-role=kubevirt-worker' -o jsonpath='{.items[*].status.availableReplicas}')
21-
if [ "$nodes" -ge "1" ]; then
21+
if [ "0$nodes" -ge "1" ]; then
2222
echo "Node is ready, exiting"
2323
exit 0
2424
fi

0 commit comments

Comments
 (0)