nytimes / collectd-rabbitmq

A collected plugin, written in python, to collect statistics from RabbitMQ.
https://collectd-rabbitmq.readthedocs.org/
Other
145 stars 79 forks source link

Don't return None for methods that should return lists #74

Closed abompard closed 5 years ago

abompard commented 5 years ago

Some methods are expected to return lists, however if the virtualhost is unavailable because of restricted permissions on the connecting user, they will return None and crash the plugin.

Fixes #68

Signed-off-by: Aurélien Bompard aurelien@bompard.org