You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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>
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: #507
Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
This line aims to remove " kB" suffix, but instead removes all characters from " kB" cutset.
procfs/proc_smaps.go
Line 130 in cdc4512
Similar fix as was done in this commit is required - b3d77ec .
The text was updated successfully, but these errors were encountered: