Skip to content

Commit

Permalink
fix: don't require listeners to be present in overview (#9315)
Browse files Browse the repository at this point in the history
  • Loading branch information
reimda authored Jun 22, 2022
1 parent 38c5ec1 commit db23718
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/inputs/rabbitmq/rabbitmq.go
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ func gatherOverview(r *RabbitMQ, acc telegraf.Accumulator) {
return
}

if overview.QueueTotals == nil || overview.ObjectTotals == nil || overview.MessageStats == nil || overview.Listeners == nil {
if overview.QueueTotals == nil || overview.ObjectTotals == nil || overview.MessageStats == nil {
acc.AddError(fmt.Errorf("Wrong answer from rabbitmq. Probably auth issue"))
return
}
Expand Down

0 comments on commit db23718

Please sign in to comment.