diff options
author | Lokesh Mandvekar <lsm5@fedoraproject.org> | 2020-04-27 11:19:40 -0400 |
---|---|---|
committer | Lokesh Mandvekar <lsm5@fedoraproject.org> | 2020-04-27 11:29:43 -0400 |
commit | bee486b91fe9cd9ede02560ac887e2a7e61657d9 (patch) | |
tree | 3b9370887f3ec25af5055bb29e137bc7e4ebb7cb /pkg/bindings/test/common_test.go | |
parent | fdf64f0c66be4569732b830ce60c98f98a7efe64 (diff) | |
download | podman-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/common_test.go')
-rw-r--r-- | pkg/bindings/test/common_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/bindings/test/common_test.go b/pkg/bindings/test/common_test.go index 6b8d6788c..f33e42440 100644 --- a/pkg/bindings/test/common_test.go +++ b/pkg/bindings/test/common_test.go @@ -3,13 +3,13 @@ package test_bindings import ( "context" "fmt" - "github.com/containers/libpod/libpod/define" "io/ioutil" "os" "os/exec" "path/filepath" "strings" + "github.com/containers/libpod/libpod/define" . "github.com/containers/libpod/pkg/bindings" "github.com/containers/libpod/pkg/bindings/containers" "github.com/containers/libpod/pkg/specgen" @@ -189,7 +189,7 @@ func (b *bindingTest) restoreImageFromCache(i testImage) { // Run a container within or without a pod // and add or append the alpine image to it func (b *bindingTest) RunTopContainer(containerName *string, insidePod *bool, podName *string) (string, error) { - s := specgen.NewSpecGenerator(alpine.name) + s := specgen.NewSpecGenerator(alpine.name, false) s.Terminal = false s.Command = []string{"top"} if containerName != nil { |