aboutsummaryrefslogtreecommitdiff
path: root/libpod/common_test.go
diff options
context:
space:
mode:
authorW. Trevor King <wking@tremily.us>2018-06-27 09:14:13 -0700
committerAtomic Bot <atomic-devel@projectatomic.io>2018-06-27 21:27:19 +0000
commitfd12c8918b0c1e1b481c0ab8573263314fe30db4 (patch)
tree21846b0ebba446004e5e2aa1ee0b9c551d178d0f /libpod/common_test.go
parentc32c491869c58e9b0f70ebc58221c28b342f1e1d (diff)
downloadpodman-fd12c8918b0c1e1b481c0ab8573263314fe30db4.tar.gz
podman-fd12c8918b0c1e1b481c0ab8573263314fe30db4.tar.bz2
podman-fd12c8918b0c1e1b481c0ab8573263314fe30db4.zip
*: Replace Generator.Spec() with Generator.Config
Catching up with opencontainers/runtime-tools@84a62c6a (generate: Move Generator.spec to Generator.Config, 2016-11-06, #266, v0.6.0), now that we've bumped runtime-tools in f6c0fc1a (Vendor in latest runtime-tools, 2018-06-26, #1007). Signed-off-by: W. Trevor King <wking@tremily.us> Closes: #1008 Approved by: mheon
Diffstat (limited to 'libpod/common_test.go')
-rw-r--r--libpod/common_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/common_test.go b/libpod/common_test.go
index 496b8d17a..d2379c508 100644
--- a/libpod/common_test.go
+++ b/libpod/common_test.go
@@ -79,7 +79,7 @@ func getTestContainer(id, name, locksDir string) (*Container, error) {
if err != nil {
return nil, err
}
- ctr.config.Spec = g.Spec()
+ ctr.config.Spec = g.Config
ctr.config.Labels["test"] = "testing"