Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
util: throw if file has !digit characters
Throw if file has non-numeric data, in addition to hinting the path that caused the error. Fixes: prometheus#304, prometheus/node_exporter#1710 Signed-off-by: Pranshu Srivastava <[email protected]>
- Loading branch information