Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

downgrade sentinel peer count error to warn #2249

Merged
merged 1 commit into from
Aug 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
downgrade sentinel peer count error to warn
Intizar-T committed Aug 28, 2024

Verified

This commit was signed with the committer’s verified signature.
fpapado Fotis Papadogeorgopoulos
commit 8ace1364832762d678bdedc7dc74121ee9a0c871
2 changes: 1 addition & 1 deletion node/pkg/checker/peers/app.go
Original file line number Diff line number Diff line change
@@ -56,7 +56,7 @@ func Start() error {
newPeerCount, err := checkPeerCounts()
log.Debug().Int("peer count", newPeerCount).Msg("peer count")
if err != nil {
log.Error().Err(err).Msg("Failed to check peer count")
log.Warn().Err(err).Msg("Failed to check peer count")
failCount++
if failCount > 10 {
alert.SlackAlert(fmt.Sprintf("failed to check peer count %d times. Check miko Sentinel logs", failCount))