summaryrefslogtreecommitdiff
path: root/pkg
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 /pkg
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 'pkg')
-rw-r--r--pkg/spec/spec.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/spec/spec.go b/pkg/spec/spec.go
index d407b419a..2cef3ecc0 100644
--- a/pkg/spec/spec.go
+++ b/pkg/spec/spec.go
@@ -223,7 +223,7 @@ func CreateConfigToOCISpec(config *CreateConfig) (*spec.Spec, error) { //nolint
if err := addIpcNS(config, &g); err != nil {
return nil, err
}
- configSpec := g.Spec()
+ configSpec := g.Config
// HANDLE CAPABILITIES
// NOTE: Must happen before SECCOMP