diff options
author | baude <bbaude@redhat.com> | 2020-12-17 12:07:13 -0600 |
---|---|---|
committer | baude <bbaude@redhat.com> | 2020-12-21 09:21:46 -0600 |
commit | 401dcff8389e10c6fd88ad34f82daccb8f800d3f (patch) | |
tree | 2ccb5389ef46b53329911acf8d0fd5aa16a7b74f /pkg/bindings/test/exec_test.go | |
parent | d6925182cdaf94225908a386d02eae8fd3e01123 (diff) | |
download | podman-401dcff8389e10c6fd88ad34f82daccb8f800d3f.tar.gz podman-401dcff8389e10c6fd88ad34f82daccb8f800d3f.tar.bz2 podman-401dcff8389e10c6fd88ad34f82daccb8f800d3f.zip |
podman v3 container bindings
convert the golang container bindings to all use options so that changes
in the future are more managable.
Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'pkg/bindings/test/exec_test.go')
-rw-r--r-- | pkg/bindings/test/exec_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/bindings/test/exec_test.go b/pkg/bindings/test/exec_test.go index e3d90b9ea..8e20a192f 100644 --- a/pkg/bindings/test/exec_test.go +++ b/pkg/bindings/test/exec_test.go @@ -43,7 +43,7 @@ var _ = Describe("Podman containers exec", func() { Expect(err).To(BeNil()) Expect(sessionID).To(Not(Equal(""))) - inspectOut, err := containers.ExecInspect(bt.conn, sessionID) + inspectOut, err := containers.ExecInspect(bt.conn, sessionID, nil) Expect(err).To(BeNil()) Expect(inspectOut.ContainerID).To(Equal(cid)) Expect(inspectOut.ProcessConfig.Entrypoint).To(Equal("echo")) @@ -71,7 +71,7 @@ var _ = Describe("Podman containers exec", func() { }) It("Podman exec inspect on invalid session fails", func() { - _, err := containers.ExecInspect(bt.conn, "0000000000000000000000000000000000000000000000000000000000000000") + _, err := containers.ExecInspect(bt.conn, "0000000000000000000000000000000000000000000000000000000000000000", nil) Expect(err).To(Not(BeNil())) }) }) |