summaryrefslogtreecommitdiff
path: root/pkg/bindings/test/containers_test.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-04-27 20:39:27 +0200
committerGitHub <noreply@github.com>2020-04-27 20:39:27 +0200
commit618d4be212ab42e07b3f98e75412529025b37b71 (patch)
tree29e4481bef9a30e8a60a877e1c1a2e39f188d2eb /pkg/bindings/test/containers_test.go
parent733c38028df9d8c0b0688a54ef948a21b6260f26 (diff)
parentbee486b91fe9cd9ede02560ac887e2a7e61657d9 (diff)
downloadpodman-618d4be212ab42e07b3f98e75412529025b37b71.tar.gz
podman-618d4be212ab42e07b3f98e75412529025b37b71.tar.bz2
podman-618d4be212ab42e07b3f98e75412529025b37b71.zip
Merge pull request #6002 from lsm5/fix-specgen-in-bindings-test
Fix NewSpecGenerator args in pkg/bindings/test
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)