diff --git a/modules/4_pvs_support/files/migrate-mcp.sh b/modules/4_pvs_support/files/migrate-mcp.sh index f0b266d..c5b84dc 100644 --- a/modules/4_pvs_support/files/migrate-mcp.sh +++ b/modules/4_pvs_support/files/migrate-mcp.sh @@ -77,7 +77,7 @@ do oc get mcp power -o json | jq -r '.status.readyMachineCount' MCP_IDX=$(($MCP_IDX + 1)) - if [ "${MCP_IDX}" -gt "${COUNT}" ] + if [ "${MCP_IDX}" -gt "${MCP_COUNT}" ] then echo "failed to wait on the machine count" exit 1 @@ -101,7 +101,7 @@ do oc get mcp power -o json | jq -r '.status.readyMachineCount' MCP_IDX=$(($MCP_IDX + 1)) - if [ "${MCP_IDX}" -gt "${COUNT}" ] + if [ "${MCP_IDX}" -gt "${MCP_COUNT}" ] then echo "failed to wait on the machine count" exit 1 @@ -121,4 +121,4 @@ else echo "Skipping mcp creation as the preinstall-worker-kargs does not exist" oc get mc | grep -v rendered- | grep worker -fi \ No newline at end of file +fi