summaryrefslogtreecommitdiff
path: root/vendor/github.com/prometheus/procfs/proc_limits.go
diff options
context:
space:
mode:
authorLibravatar dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2024-08-19 10:13:46 +0000
committerLibravatar GitHub <noreply@github.com>2024-08-19 10:13:46 +0000
commit6ff8376d96f094daacf62decf2ee7ff602c2d531 (patch)
tree0b0ad45951ef1aae841384fd550e01b44f4cba76 /vendor/github.com/prometheus/procfs/proc_limits.go
parent[bugfix] permit unspecified orientation data (#3205) (diff)
downloadgotosocial-6ff8376d96f094daacf62decf2ee7ff602c2d531.tar.xz
[chore]: Bump github.com/prometheus/client_golang from 1.19.1 to 1.20.0 (#3210)
Diffstat (limited to 'vendor/github.com/prometheus/procfs/proc_limits.go')
-rw-r--r--vendor/github.com/prometheus/procfs/proc_limits.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/prometheus/procfs/proc_limits.go b/vendor/github.com/prometheus/procfs/proc_limits.go
index c86d815d7..9530b14bc 100644
--- a/vendor/github.com/prometheus/procfs/proc_limits.go
+++ b/vendor/github.com/prometheus/procfs/proc_limits.go
@@ -154,7 +154,7 @@ func parseUint(s string) (uint64, error) {
}
i, err := strconv.ParseUint(s, 10, 64)
if err != nil {
- return 0, fmt.Errorf("%s: couldn't parse value %q: %w", ErrFileParse, s, err)
+ return 0, fmt.Errorf("%w: couldn't parse value %q: %w", ErrFileParse, s, err)
}
return i, nil
}