From daa5e252cc3b0d2a81d138422007d986a91dfbd9 Mon Sep 17 00:00:00 2001 From: Leo Puvilland Date: Fri, 23 Feb 2024 18:50:50 -0800 Subject: [PATCH] nagios: fix stray ampersand that was breaking the curl command Signed-off-by: Leo Puvilland --- .../nagios_server/templates/nagios/scripts/matrix-notify.sh.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/nagios_server/templates/nagios/scripts/matrix-notify.sh.j2 b/roles/nagios_server/templates/nagios/scripts/matrix-notify.sh.j2 index caa3674853..07842a174c 100644 --- a/roles/nagios_server/templates/nagios/scripts/matrix-notify.sh.j2 +++ b/roles/nagios_server/templates/nagios/scripts/matrix-notify.sh.j2 @@ -3,4 +3,4 @@ stdin=$(cat) host=$(hostname -s) -curl -X POST -H "Content-Type: application/json" -u {{ matrix_nonbot_auth }} https://maubot.apps.ocp.fedoraproject.org/plugin/nonbot-nagios/send?host=$host&service=$1 -d "$stdin" +curl -X POST -H "Content-Type: application/json" -u {{ matrix_nonbot_auth }} https://maubot.apps.ocp.fedoraproject.org/plugin/nonbot-nagios/send?host=$host\&service=$1 -d "$stdin"