From 830f3a4462953b3698a21031db3964d0f0ae63b3 Mon Sep 17 00:00:00 2001 From: Brent Baude Date: Tue, 14 Apr 2020 09:02:28 -0500 Subject: v2podman ps revert structure changes reverting name changes to the listcontainer structure because it negatively impacted the direct consumption of the restful API. instead we now use a local structure in the CLI to modify the output as needed. Signed-off-by: Brent Baude --- pkg/bindings/test/containers_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/bindings') 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()) }) -- cgit v1.2.3-54-g00ecf