dennisstritzke / ipsec_exporter

Prometheus exporter for IPsec metrics.
MIT License
51 stars 39 forks source link

ignore commented lines #18

Closed AFriemann closed 5 years ago

AFriemann commented 5 years ago

The config loader logic isn't aware of commented lines and seems to pick them up anyway - I think this shouldn't happen.

I think they could easily be dropped here

https://github.com/dennisstritzke/ipsec_exporter/blob/237214f19fd9626c1b9c0f27edd6b5c3f188c8f9/ipsec/configuration.go#L111

Let me know if you agree and I'll gladly supply a PR

dennisstritzke commented 5 years ago

I definitely agree.

Thanks for bringing this up and I am happy to review your PR.

AFriemann commented 5 years ago

just pinging you again @dennisstritzke in case you didn't see the PR. Let me know if you have any requests! :)