summaryrefslogtreecommitdiff
path: root/libpod
diff options
context:
space:
mode:
authordependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2021-09-09 16:17:26 +0000
committerValentin Rothberg <rothberg@redhat.com>2021-09-10 15:23:43 +0200
commit309d989712e5922e259916533d181b7545b201a1 (patch)
tree045e4ed7802a431ffcc5f6291c7409fdc1f18b35 /libpod
parent784e1ae137587ba7130eff315ebd6965e444da03 (diff)
downloadpodman-309d989712e5922e259916533d181b7545b201a1.tar.gz
podman-309d989712e5922e259916533d181b7545b201a1.tar.bz2
podman-309d989712e5922e259916533d181b7545b201a1.zip
Bump github.com/containers/psgo from 1.5.2 to 1.6.0
Bumps [github.com/containers/psgo](https://github.com/containers/psgo) from 1.5.2 to 1.6.0. - [Release notes](https://github.com/containers/psgo/releases) - [Commits](https://github.com/containers/psgo/compare/v1.5.2...v1.6.0) --- updated-dependencies: - dependency-name: github.com/containers/psgo dependency-type: direct:production update-type: version-update:semver-minor ... [NO TESTS NEEDED] since it's migrating to a new version. Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'libpod')
-rw-r--r--libpod/container_top_linux.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/container_top_linux.go b/libpod/container_top_linux.go
index ee03570ab..0d4cba85e 100644
--- a/libpod/container_top_linux.go
+++ b/libpod/container_top_linux.go
@@ -47,7 +47,7 @@ func (c *Container) Top(descriptors []string) ([]string, error) {
if psgoErr == nil {
return output, nil
}
- if errors.Cause(psgoErr) != psgo.ErrUnknownDescriptor {
+ if !errors.Is(psgoErr, psgo.ErrUnknownDescriptor) {
return nil, psgoErr
}