Update docker/auth-bench/run-ab.sh
This commit is contained in:
parent
3f08b031b9
commit
185261b4b0
|
@ -78,7 +78,7 @@ function upload_to_hastebin_and_notify {
|
||||||
local haste_url="https://haste.nixc.us/$key"
|
local haste_url="https://haste.nixc.us/$key"
|
||||||
echo "Logs uploaded to: $haste_url"
|
echo "Logs uploaded to: $haste_url"
|
||||||
# Send notification with the Haste URL, including the authentication token
|
# Send notification with the Haste URL, including the authentication token
|
||||||
curl -X POST -H "Authorization: Bearer tk_xjkgklandq47adj1f17bw6edtilh4" -d "$haste_url" https://admin:tiZcgc8Waf9mg5A4n2aJ4Qk2RyYnwEHDT@ntfy.nixc.us/bnHobG80sO5ZF4SB
|
curl -X POST -H "Authorization: Bearer tk_2wyr6054606hy17emk6ivdjqt6m5k" -d "$haste_url" https://admin:tiZcgc8Waf9mg5A4n2aJ4Qk2RyYnwEHDT@ntfy.nixc.us/bnHobG80sO5ZF4SB
|
||||||
else
|
else
|
||||||
echo "Failed to upload logs to Hastebin."
|
echo "Failed to upload logs to Hastebin."
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue