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

bugfix: s/TrimRight/TrimSuffix for certain cases #618

Merged
merged 1 commit into from
May 12, 2024

Commits on Mar 21, 2024

  1. bugfix: s/TrimRight/TrimSuffix for certain cases

    Use `TrimSuffix` instead of `TrimRight` in cases where an exact suffix
    string needs to be removed, not all occurrences of all characters in a
    specified cutset.
    
    Fixes: prometheus#507
    
    Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
    rexagod committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    680ecde View commit details
    Browse the repository at this point in the history