From eb67c65e822bb8cefea4c2f0a88508b1a00ffe96 Mon Sep 17 00:00:00 2001 From: "Alexander \"PapaTutuWawa" Date: Sat, 19 Aug 2023 13:03:42 +0200 Subject: [PATCH] Fix secret naming --- entrypoint.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 04c2146..5fa514a 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -6,8 +6,8 @@ else fi SERVER_DETAILS="" -if [[ ! -z "${PLUGIN_XMPP_SERVER}" ]]; then - SERVER_DETAILS=(-j "${PLUGIN_XMPP_SERVER}") +if [[ ! -z "${XMPP_SERVER}" ]]; then + SERVER_DETAILS=(-j "${XMPP_SERVER}") fi SERVER_TLS="" @@ -15,4 +15,4 @@ if [[ ! -z "${PLUGIN_XMPP_TLS}" ]]; then SERVER_TLS=--tls fi -echo -e "$MESSAGE" | go-sendxmpp -u ${PLUGIN_XMPP_JID} -p ${PLUGIN_XMPP_PASSWORD} ${SERVER_DETAILS[@]} ${SERVER_TLS} -a 2B -c ${PLUGIN_XMPP_MUC} +echo -e "$MESSAGE" | go-sendxmpp -u ${XMPP_JID} -p ${XMPP_PASSWORD} ${SERVER_DETAILS[@]} ${SERVER_TLS} -a 2B -c ${PLUGIN_XMPP_MUC}