Skip to content

Commit d39143d

Browse files
Switch info with low (#27)
1 parent b130b09 commit d39143d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

internal/adapters/notifier/notifier.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ const (
6161
Medium Priority = "medium"
6262
High Priority = "high"
6363
Critical Priority = "critical"
64-
Info Priority = "info"
6564
)
6665

6766
type Status string
@@ -123,7 +122,7 @@ func (n *Notifier) SendValidatorLivenessNot(validators []domain.ValidatorIndex,
123122
if live {
124123
title = fmt.Sprintf("All validators back online (%d)", len(validators))
125124
body = fmt.Sprintf("✅ All validators are back online and atesting on %s (%d).", n.Network, len(validators))
126-
priority = Info
125+
priority = Low
127126
status = Resolved
128127
isBanner = false
129128
} else {
@@ -192,7 +191,7 @@ func (n *Notifier) SendBlockProposalNot(validators []domain.ValidatorIndex, epoc
192191
if proposed {
193192
title = fmt.Sprintf("Block Proposed: %s", indexesToString(validators, true))
194193
body = fmt.Sprintf("✅ Validator(s) %s proposed a block at epoch %d on %s.", indexesToString(validators, true), epoch, n.Network)
195-
priority = Info
194+
priority = Low
196195
} else {
197196
title = fmt.Sprintf("Block Missed: %s", indexesToString(validators, true))
198197
body = fmt.Sprintf("❌ Validator(s) %s missed a block proposal at epoch %d on %s.", indexesToString(validators, true), epoch, n.Network)

0 commit comments

Comments
 (0)