Fix secret naming
This commit is contained in:
parent
b9798dcc3a
commit
eb67c65e82
@ -6,8 +6,8 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
SERVER_DETAILS=""
|
SERVER_DETAILS=""
|
||||||
if [[ ! -z "${PLUGIN_XMPP_SERVER}" ]]; then
|
if [[ ! -z "${XMPP_SERVER}" ]]; then
|
||||||
SERVER_DETAILS=(-j "${PLUGIN_XMPP_SERVER}")
|
SERVER_DETAILS=(-j "${XMPP_SERVER}")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
SERVER_TLS=""
|
SERVER_TLS=""
|
||||||
@ -15,4 +15,4 @@ if [[ ! -z "${PLUGIN_XMPP_TLS}" ]]; then
|
|||||||
SERVER_TLS=--tls
|
SERVER_TLS=--tls
|
||||||
fi
|
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}
|
||||||
|
Loading…
Reference in New Issue
Block a user