summaryrefslogtreecommitdiff
path: root/pkg/bindings/test/containers_test.go
diff options
context:
space:
mode:
authorLokesh Mandvekar <lsm5@fedoraproject.org>2020-04-27 11:19:40 -0400
committerLokesh Mandvekar <lsm5@fedoraproject.org>2020-04-27 11:29:43 -0400
commitbee486b91fe9cd9ede02560ac887e2a7e61657d9 (patch)
tree3b9370887f3ec25af5055bb29e137bc7e4ebb7cb /pkg/bindings/test/containers_test.go
parentfdf64f0c66be4569732b830ce60c98f98a7efe64 (diff)
downloadpodman-bee486b91fe9cd9ede02560ac887e2a7e61657d9.tar.gz
podman-bee486b91fe9cd9ede02560ac887e2a7e61657d9.tar.bz2
podman-bee486b91fe9cd9ede02560ac887e2a7e61657d9.zip
Fix NewSpecGenerator args in pkg/bindings/test
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
Diffstat (limited to 'pkg/bindings/test/containers_test.go')
-rw-r--r--pkg/bindings/test/containers_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/bindings/test/containers_test.go b/pkg/bindings/test/containers_test.go
index e288dc368..c79d89b73 100644
--- a/pkg/bindings/test/containers_test.go
+++ b/pkg/bindings/test/containers_test.go
@@ -360,7 +360,7 @@ var _ = Describe("Podman containers ", func() {
It("logging", func() {
stdoutChan := make(chan string, 10)
- s := specgen.NewSpecGenerator(alpine.name)
+ s := specgen.NewSpecGenerator(alpine.name, false)
s.Terminal = true
s.Command = []string{"date", "-R"}
r, err := containers.CreateWithSpec(bt.conn, s)
@@ -521,7 +521,7 @@ var _ = Describe("Podman containers ", func() {
})
It("container init", func() {
- s := specgen.NewSpecGenerator(alpine.name)
+ s := specgen.NewSpecGenerator(alpine.name, false)
ctr, err := containers.CreateWithSpec(bt.conn, s)
Expect(err).To(BeNil())
err = containers.ContainerInit(bt.conn, ctr.ID)