Open lbeucher opened 7 years ago
I think that we could maybe add an option to do exact match rather than regex. Also you could pass a regex that would exclude the test one. I would be happy to accept a PR to do this.
Hum, i'm not an ruby's expert.
You can use --filter 'xxx$'
to anchor your regex I believe.
The problems, we have two virtual host with same name of queue. With the --filter option, the check return value for: truc of xxx and truc of xxx-test
We use this check with the option vhost. We have two virtualHost (xxx and xxx-test). The problems is this check queue in virtualhost xxx and xxx-test. To correct the problem, i have replace: return queues.select { |x| x['vhost'].match(config[:vhost]) }
By return queues.select { |x| x['vhost']==config[:vhost] }.
Can you integrate this modification ?