From fd12c8918b0c1e1b481c0ab8573263314fe30db4 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 27 Jun 2018 09:14:13 -0700 Subject: *: 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 Closes: #1008 Approved by: mheon --- pkg/spec/spec.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/spec/spec.go') 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 -- cgit v1.2.3-54-g00ecf