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-04-14 18:01:18 +0200
committerGitHub <noreply@github.com>2020-04-14 18:01:18 +0200
commita6caae0b5a40ae1ccf536e916624b4f81cdda7f4 (patch)
tree0e07eeba9a90f914c01bf79113e670357377c2d2 /pkg/bindings/test/containers_test.go
parent01c5915a52d6e5d23ad08fd1fcce38dba20f67db (diff)
parent830f3a4462953b3698a21031db3964d0f0ae63b3 (diff)
downloadpodman-a6caae0b5a40ae1ccf536e916624b4f81cdda7f4.tar.gz
podman-a6caae0b5a40ae1ccf536e916624b4f81cdda7f4.tar.bz2
podman-a6caae0b5a40ae1ccf536e916624b4f81cdda7f4.zip
Merge pull request #5808 from baude/v2psformat2
v2podman ps revert structure changes
Diffstat (limited to 'pkg/bindings/test/containers_test.go')
-rw-r--r--pkg/bindings/test/containers_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/bindings/test/containers_test.go b/pkg/bindings/test/containers_test.go
index c6501ac9e..0b1b9ecdd 100644
--- a/pkg/bindings/test/containers_test.go
+++ b/pkg/bindings/test/containers_test.go
@@ -509,7 +509,7 @@ var _ = Describe("Podman containers ", func() {
Expect(err).To(BeNil())
containerLatestList, err := containers.List(bt.conn, nil, nil, &latestContainers, nil, nil, nil)
Expect(err).To(BeNil())
- err = containers.Kill(bt.conn, containerLatestList[0].Names(), "SIGTERM")
+ err = containers.Kill(bt.conn, containerLatestList[0].Names[0], "SIGTERM")
Expect(err).To(BeNil())
})