nagios: fix stray ampersand that was breaking the curl command

Signed-off-by: Leo Puvilland <leo@craftcat.dev>
This commit is contained in:
Leo Puvilland 2024-02-23 18:50:50 -08:00
parent a6cd73a473
commit daa5e252cc
No known key found for this signature in database
GPG key ID: 20EA96682F9368EB

View file

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