Skip to content

Commit

Permalink
OCTOPUS-550: add early exit for zones with zero workers
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Bastide <[email protected]>
  • Loading branch information
prb112 committed Nov 9, 2023
1 parent bb3f87f commit 77e1533
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/7_post/files/approve_and_issue.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ MACHINE_PREFIX="${INTEL_PREFIX}-worker-${INTEL_ZONE}"
if [ "0" -eq "${INTEL_COUNT}" ]
then
echo "There are no workers in the ${INTEL_ZONE}"
exit 0
fi

IDX=0
Expand Down

0 comments on commit 77e1533

Please sign in to comment.