mirror of
https://github.com/kossakovsky/n8n-install.git
synced 2026-03-07 22:33:11 +00:00
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:
@@ -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,"
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user