[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:
ChrisSch
2023-11-08 10:01:19 +01:00
committed by GitHub
parent 63c0d419e2
commit afa8d85a15
2 changed files with 6 additions and 6 deletions

View File

@@ -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 ""
}

View File

@@ -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