summaryrefslogtreecommitdiff
path: root/pkg/bindings/test/containers_test.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-03-30 13:59:37 +0200
committerGitHub <noreply@github.com>2020-03-30 13:59:37 +0200
commit819375128741f0348b8e4ffd33a96c666e82ee4f (patch)
treead2c5ce70d77fb1085a39427425550119afc4d6f /pkg/bindings/test/containers_test.go
parent598bb53d46dfc85b8bcc1e3000736106f80de93e (diff)
parentedec8ccf3f1f2e1b1926530b62ab441fc1a24f3f (diff)
downloadpodman-819375128741f0348b8e4ffd33a96c666e82ee4f.tar.gz
podman-819375128741f0348b8e4ffd33a96c666e82ee4f.tar.bz2
podman-819375128741f0348b8e4ffd33a96c666e82ee4f.zip
Merge pull request #5639 from vrothberg/v2-pod-top
V2 pod top
Diffstat (limited to 'pkg/bindings/test/containers_test.go')
-rw-r--r--pkg/bindings/test/containers_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/bindings/test/containers_test.go b/pkg/bindings/test/containers_test.go
index 9dd9cb707..a31181958 100644
--- a/pkg/bindings/test/containers_test.go
+++ b/pkg/bindings/test/containers_test.go
@@ -387,15 +387,15 @@ var _ = Describe("Podman containers ", func() {
Expect(err).To(BeNil())
// By name
- output, err := containers.Top(bt.conn, name, nil)
+ _, err = containers.Top(bt.conn, name, nil)
Expect(err).To(BeNil())
// By id
- output, err = containers.Top(bt.conn, cid, nil)
+ _, err = containers.Top(bt.conn, cid, nil)
Expect(err).To(BeNil())
// With descriptors
- output, err = containers.Top(bt.conn, cid, []string{"user,pid,hpid"})
+ output, err := containers.Top(bt.conn, cid, []string{"user,pid,hpid"})
Expect(err).To(BeNil())
header := strings.Split(output[0], "\t")
for _, d := range []string{"USER", "PID", "HPID"} {