mirror of
https://github.com/TwiN/gatus.git
synced 2025-02-17 18:51:15 +01:00
fix: Swap tag for resolved and triggered
This commit is contained in:
parent
35038a63c4
commit
899c19b2d7
@ -54,9 +54,9 @@ func (provider *AlertProvider) buildRequestBody(endpoint *core.Endpoint, alert *
|
|||||||
message = endpoint.DisplayName()
|
message = endpoint.DisplayName()
|
||||||
}
|
}
|
||||||
if resolved {
|
if resolved {
|
||||||
tag = "x"
|
|
||||||
} else {
|
|
||||||
tag = "white_check_mark"
|
tag = "white_check_mark"
|
||||||
|
} else {
|
||||||
|
tag = "x"
|
||||||
}
|
}
|
||||||
return fmt.Sprintf(`{
|
return fmt.Sprintf(`{
|
||||||
"topic": "%s",
|
"topic": "%s",
|
||||||
|
Loading…
Reference in New Issue
Block a user