Skip to content

Commit

Permalink
remove debug exit 0
Browse files Browse the repository at this point in the history
  • Loading branch information
gr0vity-dev committed Dec 21, 2022
1 parent 5bafb12 commit 2304e1d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions respawn
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,12 @@ for container in $(lxc storage volume list docker | grep "github-.*| 0" |awk '{p
#TODO: ALERT if lxc command fails meaning lxd servcie is down
CURRENT_RUNNER_COUNT=$(lxc ls | grep github-.*RUNNING.*EPHEMERAL | wc -l)
if [ $((( $SPAWN_COUNT - $CURRENT_RUNNER_COUNT ))) -le 0 ]
then
then
exit 0
else
SPAWN_COUNT=$((($SPAWN_COUNT - $CURRENT_RUNNER_COUNT)))
fi

exit 0


# This is done outside the scope of the LXD container because exporting variables is not working as expected
Expand Down

0 comments on commit 2304e1d

Please sign in to comment.