diff options
Diffstat (limited to 'pkg/spec/spec.go')
-rw-r--r-- | pkg/spec/spec.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/spec/spec.go b/pkg/spec/spec.go index 5260b9b19..fdbbcd6ad 100644 --- a/pkg/spec/spec.go +++ b/pkg/spec/spec.go @@ -58,7 +58,7 @@ func CreateConfigToOCISpec(config *CreateConfig) (*spec.Spec, error) { //nolint g.SetProcessArgs(config.Command) g.SetProcessTerminal(config.Tty) - for key, val := range config.GetAnnotations() { + for key, val := range config.Annotations { g.AddAnnotation(key, val) } g.SetRootReadonly(config.ReadOnlyRootfs) |