mirror of
https://github.com/willfarrell/docker-autoheal.git
synced 2024-12-06 19:16:20 +01:00
Update docker-entrypoint
line 75 using `"text":"$text" fails, but if you change it to `"content":"$text"` it works
This commit is contained in:
+1
-1
@@ -72,7 +72,7 @@ generate_webhook_payload() {
|
|||||||
local text="$@"
|
local text="$@"
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
{
|
{
|
||||||
"text":"$text"
|
"content":"$text"
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user