diff options
Diffstat (limited to 'pkg/v2/service.go')
-rw-r--r-- | pkg/v2/service.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/v2/service.go b/pkg/v2/service.go index 63a2f0da6..eade660c9 100644 --- a/pkg/v2/service.go +++ b/pkg/v2/service.go @@ -709,6 +709,9 @@ func newInit(ctx context.Context, path, workDir, namespace string, platform rpro if err != nil { return nil, errors.Wrap(err, "read oci spec") } + if err := utils.UpdateVolumeAnnotations(r.Bundle, spec); err != nil { + return nil, errors.Wrap(err, "update volume annotations") + } runsc.FormatLogPath(r.ID, options.RunscConfig) runtime := proc.NewRunsc(options.Root, path, namespace, options.BinaryName, options.RunscConfig) p := proc.New(r.ID, runtime, rproc.Stdio{ |