Refactor logging messages in scripts for clarity

- Removed redundant log message in 04_wizard.sh related to COMPOSE_PROFILES.
- Updated success messages in apply_update.sh for improved readability and conciseness.
This commit is contained in:
Yury Kossakovsky
2025-05-28 16:45:52 -06:00
parent d319f80133
commit 3139ca54de
2 changed files with 2 additions and 4 deletions

View File

@@ -44,8 +44,6 @@ if [ -f "$ENV_FILE" ]; then
CURRENT_PROFILES_VALUE=$(echo "$LINE_CONTENT" | cut -d'=' -f2- | sed 's/^"//' | sed 's/"$//')
fi
fi
log_info "Wizard: Read COMPOSE_PROFILES from $ENV_FILE as: '$CURRENT_PROFILES_VALUE' (used for matching as: '$current_profiles_for_matching')"
# Prepare comma-separated current profiles for easy matching, adding leading/trailing commas
current_profiles_for_matching=",$CURRENT_PROFILES_VALUE,"

View File

@@ -33,7 +33,7 @@ bash "$SCRIPT_DIR/03_generate_secrets.sh" --update || {
log_error "Failed to update .env configuration via 03_generate_secrets.sh. Update process cannot continue."
exit 1
}
log_success ".env file checked and updated by 03_generate_secrets.sh."
log_success ".env file updated successfully."
# --- End of .env update by 03_generate_secrets.sh ---
# --- Run Service Selection Wizard FIRST to get updated profiles ---
@@ -42,7 +42,7 @@ bash "$SCRIPT_DIR/04_wizard.sh" || {
log_error "Service Selection Wizard failed. Update process cannot continue."
exit 1
}
log_success "Service selection updated by 04_wizard.sh."
log_success "Service selection updated."
# --- End of Service Selection Wizard ---
# Pull latest versions of selected containers based on updated .env