Skip to content

Commit

Permalink
Removes dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
bomoko committed Oct 23, 2023
1 parent 5cadf7d commit cb00ff6
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions internal/handler/messaging.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,6 @@ func (h *Messaging) processMessageQueue(message mq.Message) {
var insights InsightsData
var resource ResourceDestination

// set up defer to ack the message after we're done processing

//defer func(message mq.Message) {
// // Ack to remove from queue
// err := message.Ack(false)
// if err != nil {
// fmt.Printf("Failed to acknowledge message: %s\n", err.Error())
// }
//}(message)

acknowledgeMessage := func(message mq.Message) func() {
return func() {
// Ack to remove from queue
Expand Down

0 comments on commit cb00ff6

Please sign in to comment.