diff options
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" |