Skip to content

Commit e1df3d5

Browse files
committed
handle unbound SKIP_CLUSTER_UPGRADE_CHECK variable
1 parent 53148e4 commit e1df3d5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

e2e/scripts/playwright.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ main() {
1717
export DR_AWS_SECRET_ACCESS_KEY="$7"
1818
elif [ "$test_name" == "deploy-upgrade" ]; then
1919
export APP_UPGRADE_VERSION="$2"
20-
export SKIP_CLUSTER_UPGRADE_CHECK="$3"
20+
if [ -n "$3" ]; then
21+
export SKIP_CLUSTER_UPGRADE_CHECK="$3"
22+
fi
2123
fi
2224

2325
export BASE_URL="http://10.0.0.2:30001"

0 commit comments

Comments
 (0)