Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

util: throw if file has !digit characters #614

Closed
wants to merge 2 commits into from

Commits on Mar 19, 2024

  1. 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 <rexagod@gmail.com>
    rexagod committed Mar 19, 2024
    Configuration menu
    Copy the full SHA
    e6bdd98 View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2024

  1. fixup! util: throw if file has !digit characters

    Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
    rexagod committed Mar 30, 2024
    Configuration menu
    Copy the full SHA
    aa1c835 View commit details
    Browse the repository at this point in the history