Skip to content

Commit

Permalink
Remove unused function (#93)
Browse files Browse the repository at this point in the history
Co-authored-by: Lucas Medeiros <[email protected]>
  • Loading branch information
gmolinas and lucasmdrs authored Jun 19, 2023
1 parent b574d13 commit 8b871f9
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions checks/rabbitmq/check.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,6 @@ func New(config Config) func(ctx context.Context) error {

// release the channel resources, and unblock the receive on done below
close(done)

//revive:disable:empty-block Draining any incidental remaining messages
for range messages {
}
//revive:enable:empty-block
}()

p := amqp.Publishing{Body: []byte(time.Now().Format(time.RFC3339Nano))}
Expand Down

0 comments on commit 8b871f9

Please sign in to comment.