amimof / node-cert-exporter

An SSL certificate Prometheus exporter
Apache License 2.0
174 stars 36 forks source link

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

Closed Karandash8 closed 11 months ago

Karandash8 commented 11 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 11 months ago

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