Skip to content

Commit

Permalink
Remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
gmolinas authored Apr 10, 2023
1 parent 19b67d6 commit cdb556e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions checks/rabbitmq/check.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,6 @@ func New(config Config) func(ctx context.Context) error {

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

// now drain any incidental remaining messages
for range messages {
}
}()

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

0 comments on commit cdb556e

Please sign in to comment.