Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
dehort committed Apr 11, 2024
1 parent 54e1fae commit d474f92
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions internal/validator/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -265,9 +265,5 @@ func ignoreKafkaError(err error) bool {

kafkaErr := err.(kafka.Error)

if kafkaErr.Code() == kafka.ErrMsgSizeTooLarge {
return true
}

return false
return kafkaErr.Code() == kafka.ErrMsgSizeTooLarge
}

0 comments on commit d474f92

Please sign in to comment.