ovh / beamium

Prometheus to Warp10 metrics forwarder
Other
84 stars 21 forks source link

fix(router) do not manage empty lines #101

Closed tduboys closed 5 years ago

tduboys commented 5 years ago

Since beamium 2.0.0, when we add files directly on /opt/beamium/sources with the good syntax, importing file fails because of trying to parse an empty line if your file ends by \n

This fix removes empty lines before trying to add labels.