diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-04-10 14:11:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-10 14:11:30 +0200 |
commit | 2a8db9d17c5dd762366fe7c90304e76337e5d668 (patch) | |
tree | 68c8f58631d70cdfff949d3a171581b236525a8e /pkg/bindings/test/containers_test.go | |
parent | 838b5e1e387f6f6bdae06f053684832f77ca8796 (diff) | |
parent | 7d0e0a7129e18ca7295cf4b0fbec22d0df78d3dd (diff) | |
download | podman-2a8db9d17c5dd762366fe7c90304e76337e5d668.tar.gz podman-2a8db9d17c5dd762366fe7c90304e76337e5d668.tar.bz2 podman-2a8db9d17c5dd762366fe7c90304e76337e5d668.zip |
Merge pull request #5782 from baude/v2containercleanup
v2podman container cleanup
Diffstat (limited to 'pkg/bindings/test/containers_test.go')
-rw-r--r-- | pkg/bindings/test/containers_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/bindings/test/containers_test.go b/pkg/bindings/test/containers_test.go index ee5df40a0..d3fc80eea 100644 --- a/pkg/bindings/test/containers_test.go +++ b/pkg/bindings/test/containers_test.go @@ -508,7 +508,7 @@ var _ = Describe("Podman containers ", func() { _, err = bt.RunTopContainer(&name2, &bindings.PFalse, nil) Expect(err).To(BeNil()) containerLatestList, err := containers.List(bt.conn, nil, nil, &latestContainers, nil, nil, nil) - err = containers.Kill(bt.conn, containerLatestList[0].Names[0], "SIGTERM") + err = containers.Kill(bt.conn, containerLatestList[0].Names(), "SIGTERM") Expect(err).To(BeNil()) }) |