summaryrefslogtreecommitdiff
path: root/libpod
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-09-10 11:00:51 -0400
committerGitHub <noreply@github.com>2021-09-10 11:00:51 -0400
commit923648b487cc78aaa54058ee30b5c80389958599 (patch)
tree4428dc7137991a784a338cd1c11746e44904bae2 /libpod
parentf3c0d707f00b1ba42333b1acdcc82caf77dbaf37 (diff)
parent309d989712e5922e259916533d181b7545b201a1 (diff)
downloadpodman-923648b487cc78aaa54058ee30b5c80389958599.tar.gz
podman-923648b487cc78aaa54058ee30b5c80389958599.tar.bz2
podman-923648b487cc78aaa54058ee30b5c80389958599.zip
Merge pull request #11509 from containers/dependabot/go_modules/github.com/containers/psgo-1.6.0
Bump github.com/containers/psgo from 1.5.2 to 1.6.0
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
}