diff options
author | baude <bbaude@redhat.com> | 2018-06-27 09:01:11 -0500 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-06-27 15:16:02 +0000 |
commit | c32c491869c58e9b0f70ebc58221c28b342f1e1d (patch) | |
tree | 8e79d821bb0d6463bcbaa641151edd1aaa7af195 /libpod/common_test.go | |
parent | e1b47c15076680d318aa6fd0cb650ad89b471022 (diff) | |
download | podman-c32c491869c58e9b0f70ebc58221c28b342f1e1d.tar.gz podman-c32c491869c58e9b0f70ebc58221c28b342f1e1d.tar.bz2 podman-c32c491869c58e9b0f70ebc58221c28b342f1e1d.zip |
generator.New() requires an OS string input variable
Signed-off-by: baude <bbaude@redhat.com>
Closes: #1007
Approved by: baude
Diffstat (limited to 'libpod/common_test.go')
-rw-r--r-- | libpod/common_test.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libpod/common_test.go b/libpod/common_test.go index a95d73926..496b8d17a 100644 --- a/libpod/common_test.go +++ b/libpod/common_test.go @@ -75,7 +75,10 @@ func getTestContainer(id, name, locksDir string) (*Container, error) { valid: true, } - g := generate.New() + g, err := generate.New("linux") + if err != nil { + return nil, err + } ctr.config.Spec = g.Spec() ctr.config.Labels["test"] = "testing" |