summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
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