amimof / node-cert-exporter

An SSL certificate Prometheus exporter
Apache License 2.0
173 stars 35 forks source link

Only the first entry in exclude-glob is taken into account #89

Closed Karandash8 closed 10 months ago

Karandash8 commented 10 months ago

Description No matter if you specify multiple exclude-glob entries like --exclude-glob "/path/root_ca.pem,/path/*-key.pem" or like --exclude-glob "/path/root_ca.pem" --exclude-glob "/path/*-key.pem" only the first one will be tested against.

Describe the results you expected: All exclude-glob entries shall be tested against.

amimof commented 10 months ago

Hi @Karandash8 Thanks for contributing, your patch looks good and should be merged now