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/info_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/info_test.go')
-rw-r--r-- | pkg/bindings/test/info_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/bindings/test/info_test.go b/pkg/bindings/test/info_test.go index c4473cd19..4d696b59e 100644 --- a/pkg/bindings/test/info_test.go +++ b/pkg/bindings/test/info_test.go @@ -46,12 +46,12 @@ var _ = Describe("Podman info", func() { It("podman info container counts", func() { s := specgen.NewSpecGenerator(alpine.name, false) - _, err := containers.CreateWithSpec(bt.conn, s) + _, err := containers.CreateWithSpec(bt.conn, s, nil) Expect(err).To(BeNil()) idPause, err := bt.RunTopContainer(nil, nil, nil) Expect(err).To(BeNil()) - err = containers.Pause(bt.conn, idPause) + err = containers.Pause(bt.conn, idPause, nil) Expect(err).To(BeNil()) idStop, err := bt.RunTopContainer(nil, nil, nil) |