Skip to content

Commit 1219340

Browse files
author
Matthew Fisher
committed
fix(contrib): read proper argument
1 parent a82b54c commit 1219340

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

contrib/digitalocean/provision-do-cluster.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ if [ -z "$DEIS_NUM_INSTANCES" ]; then
3333
fi
3434

3535
regions_with_private_networking=(4 5 6 7)
36-
if ! listcontains "$regions_with_private_networking" "$2";
36+
if ! listcontains "$regions_with_private_networking" "$1";
3737
then
3838
echo_red "Invalid region. Please supply a region with private networking support."
3939
echo_red "Valid regions are:"

0 commit comments

Comments
 (0)