mirror of
https://github.com/bitnami/containers.git
synced 2026-04-06 09:17:43 +08:00
[bitnami/redis-cluster] add info level to logs Signed-off-by: Schneidenwind Christine (LDC) <… (#52377)
* add info level to logs Signed-off-by: Schneidenwind Christine (LDC) <Christine.Schneidenwind@liebherr.com> Signed-off-by: Schneidenwind Christine (LDC) <Christine.Schneidenwind@liebherr.com> * use info instead of log Signed-off-by: Schneidenwind Christine (LDC) <Christine.Schneidenwind@liebherr.com> --------- Signed-off-by: Schneidenwind Christine (LDC) <Christine.Schneidenwind@liebherr.com>
This commit is contained in:
@@ -44,10 +44,10 @@ print_welcome_page() {
|
||||
print_image_welcome_page() {
|
||||
local github_url="https://github.com/bitnami/containers"
|
||||
|
||||
log ""
|
||||
log "${BOLD}Welcome to the Bitnami ${BITNAMI_APP_NAME} container${RESET}"
|
||||
log "Subscribe to project updates by watching ${BOLD}${github_url}${RESET}"
|
||||
log "Submit issues and feature requests at ${BOLD}${github_url}/issues${RESET}"
|
||||
log ""
|
||||
info ""
|
||||
info "${BOLD}Welcome to the Bitnami ${BITNAMI_APP_NAME} container${RESET}"
|
||||
info "Subscribe to project updates by watching ${BOLD}${github_url}${RESET}"
|
||||
info "Submit issues and feature requests at ${BOLD}${github_url}/issues${RESET}"
|
||||
info ""
|
||||
}
|
||||
|
||||
|
||||
@@ -224,7 +224,7 @@ redis_cluster_update_ips() {
|
||||
newIP=$(wait_for_dns_lookup "${host_and_port[0]}" "$REDIS_DNS_RETRIES" 5)
|
||||
# The node can be new if we are updating the cluster, so catch the unbound variable error
|
||||
if [[ ${host_2_ip_array[$node]+true} ]]; then
|
||||
echo "Changing old IP ${host_2_ip_array[$node]} by the new one ${newIP}"
|
||||
info "Changing old IP ${host_2_ip_array[$node]} by the new one ${newIP}"
|
||||
nodesFile=$(sed "s/ ${host_2_ip_array[$node]}:/ $newIP<NEWIP>:/g" "${REDIS_DATA_DIR}/nodes.conf")
|
||||
echo "$nodesFile" >"${REDIS_DATA_DIR}/nodes.conf"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user