-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Aligned all templates to a new style. Test fixed.
- Loading branch information
1 parent
9d359b0
commit da9faef
Showing
36 changed files
with
54 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
```yaml | ||
{{ .PreviousAlert}} issue has been resolved ✅ | ||
✅ {{ .PreviousAlert}} issue has been resolved | ||
``` |
2 changes: 1 addition & 1 deletion
2
cmd/bots/internal/common/templates/alerts/base_target_alert.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
cmd/bots/internal/common/templates/alerts/base_target_alert.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
cmd/bots/internal/common/templates/alerts/incomplete_alert.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
❗️<b>Incomplete Alert:</b> | ||
❗️<b>Incomplete Alert</b> | ||
Incomplete statement for node {{ .Node}} {{ .Version}} at height {{ .Height}} |
4 changes: 2 additions & 2 deletions
4
cmd/bots/internal/common/templates/alerts/incomplete_alert.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
```yaml | ||
Alert type: Incomplete❗️ | ||
Details: Incomplete statement for node {{ .Node}} {{ .Version}} at height {{ .Height}} | ||
❗️Incomplete Alert | ||
Incomplete statement for node {{ .Node}} {{ .Version}} at height {{ .Height}} | ||
``` |
4 changes: 2 additions & 2 deletions
4
cmd/bots/internal/common/templates/alerts/internal_error_alert.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
```yaml | ||
Alert type: Internal Error ❗️ | ||
Details: An internal error has occurred, {{ .Error}} | ||
❗️Internal Error Alert | ||
An internal error has occurred, {{ .Error}} | ||
``` |
2 changes: 1 addition & 1 deletion
2
cmd/bots/internal/common/templates/alerts/invalid_height_alert.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
❌<b>Invalid Height Alert</b> | ||
❌ <b>Invalid Height Alert</b> | ||
Node {{ .Node}} {{ .Version}} has an invalid height {{ .Height}} |
4 changes: 2 additions & 2 deletions
4
cmd/bots/internal/common/templates/alerts/invalid_height_alert.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
```yaml | ||
Alert type: Invalid Height ❌ | ||
Details: Node {{ .Node}} {{ .Version}} has an invalid height {{ .Height}} | ||
❌ Invalid Height Alert | ||
Node {{ .Node}} {{ .Version}} has an invalid height {{ .Height}} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
<b>Simple Alert</b> | ||
❌ <b>Simple Alert</b> | ||
{{ .Description}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
```yaml | ||
Alert type: Simple Alert ❌ | ||
Details: {{ .Description}} | ||
❌ Simple Alert | ||
{{ .Description}} | ||
``` |
2 changes: 1 addition & 1 deletion
2
cmd/bots/internal/common/templates/alerts/state_hash_alert.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
cmd/bots/internal/common/templates/alerts/state_hash_alert.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
cmd/bots/internal/common/templates/alerts/state_hash_several_chains_alert.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
cmd/bots/internal/common/templates/alerts/state_hash_several_chains_alert.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
cmd/bots/internal/common/templates/alerts/unreachable_alert.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
❌<b>Unreachable Alert</b> | ||
❌ <b>Unreachable Alert</b> | ||
Node {{ .Node}} is unreachable |
4 changes: 2 additions & 2 deletions
4
cmd/bots/internal/common/templates/alerts/unreachable_alert.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
```yaml | ||
Alert type: Unreachable ❌ | ||
Details: Node {{ .Node}} is unreachable | ||
❌ Unreachable Alert | ||
Node {{ .Node}} is unreachable | ||
``` |
2 changes: 1 addition & 1 deletion
2
cmd/bots/internal/common/testdata/templates/alerts/alert_fixed.md.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
```yaml | ||
UnreachableAlert issue has been resolved ✅ | ||
✅ UnreachableAlert issue has been resolved | ||
``` |
2 changes: 1 addition & 1 deletion
2
cmd/bots/internal/common/testdata/templates/alerts/base_target_alert.html.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
cmd/bots/internal/common/testdata/templates/alerts/base_target_alert.md.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
cmd/bots/internal/common/testdata/templates/alerts/height_alert.html.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
cmd/bots/internal/common/testdata/templates/alerts/height_alert.md.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
cmd/bots/internal/common/testdata/templates/alerts/incomplete_alert.html.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
❗️<b>Incomplete Alert:</b> | ||
❗️<b>Incomplete Alert</b> | ||
Incomplete statement for node a 1 at height 1 |
4 changes: 2 additions & 2 deletions
4
cmd/bots/internal/common/testdata/templates/alerts/incomplete_alert.md.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
```yaml | ||
Alert type: Incomplete❗️ | ||
Details: Incomplete statement for node a 1 at height 1 | ||
❗️Incomplete Alert | ||
Incomplete statement for node a 1 at height 1 | ||
``` |
4 changes: 2 additions & 2 deletions
4
cmd/bots/internal/common/testdata/templates/alerts/internal_error_alert.md.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
```yaml | ||
Alert type: Internal Error ❗️ | ||
Details: An internal error has occurred, error | ||
❗️Internal Error Alert | ||
An internal error has occurred, error | ||
``` |
2 changes: 1 addition & 1 deletion
2
cmd/bots/internal/common/testdata/templates/alerts/invalid_height_alert.html.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
❌<b>Invalid Height Alert</b> | ||
❌ <b>Invalid Height Alert</b> | ||
Node a 1 has an invalid height 1 |
4 changes: 2 additions & 2 deletions
4
cmd/bots/internal/common/testdata/templates/alerts/invalid_height_alert.md.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
```yaml | ||
Alert type: Invalid Height ❌ | ||
Details: Node a 1 has an invalid height 1 | ||
❌ Invalid Height Alert | ||
Node a 1 has an invalid height 1 | ||
``` |
2 changes: 1 addition & 1 deletion
2
cmd/bots/internal/common/testdata/templates/alerts/simple_alert.html.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
<b>Simple Alert</b> | ||
❌ <b>Simple Alert</b> | ||
Simple alert !!! |
4 changes: 2 additions & 2 deletions
4
cmd/bots/internal/common/testdata/templates/alerts/simple_alert.md.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
```yaml | ||
Alert type: Simple Alert ❌ | ||
Details: Simple alert !!! | ||
❌ Simple Alert | ||
Simple alert !!! | ||
``` |
2 changes: 1 addition & 1 deletion
2
cmd/bots/internal/common/testdata/templates/alerts/state_hash_alert.html.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
cmd/bots/internal/common/testdata/templates/alerts/state_hash_alert.md.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ots/internal/common/testdata/templates/alerts/state_hash_several_chains_alert.html.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
cmd/bots/internal/common/testdata/templates/alerts/state_hash_several_chains_alert.md.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
cmd/bots/internal/common/testdata/templates/alerts/unreachable_alert.html.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
❌<b>Unreachable Alert</b> | ||
❌ <b>Unreachable Alert</b> | ||
Node node is unreachable |
4 changes: 2 additions & 2 deletions
4
cmd/bots/internal/common/testdata/templates/alerts/unreachable_alert.md.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
```yaml | ||
Alert type: Unreachable ❌ | ||
Details: Node node is unreachable | ||
❌ Unreachable Alert | ||
Node node is unreachable | ||
``` |