aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/prometheus/procfs/vm.go
diff options
context:
space:
mode:
authordependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2023-09-28 02:08:14 +0000
committerAleksandr Nogikh <nogikh@google.com>2023-09-28 09:53:59 +0000
commitbb894b2a00177e26b616ff31ba61a14dc89f7bd2 (patch)
treecfcec8a22332310adc5e256f99c31751cb8ae9ad /vendor/github.com/prometheus/procfs/vm.go
parent746f61e725ad2460e3f101b5e8899105ddea08a1 (diff)
mod: do: bump github.com/prometheus/client_golang from 1.16.0 to 1.17.0
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.16.0 to 1.17.0. - [Release notes](https://github.com/prometheus/client_golang/releases) - [Changelog](https://github.com/prometheus/client_golang/blob/v1.17.0/CHANGELOG.md) - [Commits](https://github.com/prometheus/client_golang/compare/v1.16.0...v1.17.0) --- updated-dependencies: - dependency-name: github.com/prometheus/client_golang dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Diffstat (limited to 'vendor/github.com/prometheus/procfs/vm.go')
-rw-r--r--vendor/github.com/prometheus/procfs/vm.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/prometheus/procfs/vm.go b/vendor/github.com/prometheus/procfs/vm.go
index cdedcae99..51c49d89e 100644
--- a/vendor/github.com/prometheus/procfs/vm.go
+++ b/vendor/github.com/prometheus/procfs/vm.go
@@ -86,7 +86,7 @@ func (fs FS) VM() (*VM, error) {
return nil, err
}
if !file.Mode().IsDir() {
- return nil, fmt.Errorf("%s is not a directory", path)
+ return nil, fmt.Errorf("%w: %s is not a directory", ErrFileRead, path)
}
files, err := os.ReadDir(path)