Skip to content

Commit

Permalink
Don't return a failure exit code.
Browse files Browse the repository at this point in the history
  • Loading branch information
Manouchehri authored and ravwojdyla committed Feb 2, 2022
1 parent 0cca5b3 commit 417794e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.sh
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ function start_vm {
image_flag=$([[ -z "${image}" ]] || echo "--image=${image}")
image_family_flag=$([[ -z "${image_family}" ]] || echo "--image-family=${image_family}")
disk_size_flag=$([[ -z "${disk_size}" ]] || echo "--boot-disk-size=${disk_size}")
preemptible_flag=$([[ "${preemptible}" == true ]] && echo "--preemptible")
ephemeral_flag=$([[ "${ephemeral}" == true ]] && echo "--ephemeral")
preemptible_flag=$([[ "${preemptible}" == "true" ]] && echo "--preemptible" || echo "")
ephemeral_flag=$([[ "${ephemeral}" == "true" ]] && echo "--ephemeral" || echo "")

echo "The new GCE VM will be ${VM_ID}"

Expand Down

0 comments on commit 417794e

Please sign in to comment.