Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
dB2510 committed Aug 8, 2023
1 parent 4b27ec3 commit b53c3e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/peerinfo/peerinfo.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ func (p *PeerInfo) sendOnce(ctx context.Context, now time.Time) {

// Validator git hash with regex.
if !gitHashMatch.Match([]byte(resp.GitHash)) {
log.Error(ctx, "Invalid peer git hash", nil, z.Str("peer", name))
log.Warn(ctx, "Invalid peer git hash", nil, z.Str("peer", name))
return
}

Check warning on line 189 in app/peerinfo/peerinfo.go

View check run for this annotation

Codecov / codecov/patch

app/peerinfo/peerinfo.go#L187-L189

Added lines #L187 - L189 were not covered by tests

Expand Down

0 comments on commit b53c3e6

Please sign in to comment.