Skip to content

Commit d8fdbdf

Browse files
committed
migration: Default CK8S_DRY_RUN_INSTALL to false
Without this the script fails when it's unset.
1 parent 3ab04e1 commit d8fdbdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/migration/helm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ helm_do() {
1313
log_fatal "Second argument must be a helm operation, not an option"
1414
fi
1515

16-
if [[ "${CK8S_DRY_RUN_INSTALL}" == "true" ]]; then
16+
if [[ "${CK8S_DRY_RUN_INSTALL:-"false"}" == "true" ]]; then
1717
# List of common Helm subcommands that generally DO NOT support --dry-run
1818
case "${command}" in
1919
get | list | ls | history | diff | repo | search | show | status | test | version) ;;

0 commit comments

Comments
 (0)