mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-10 21:53:57 +08:00
features: propagate version from the root urfave/cli command
Fix #5329 Fix #5331 Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp> (cherry picked from commit7dda063c9a) Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp> (cherry picked from commitc8a2d9bebc) Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
This commit is contained in:
committed by
Rodrigo Campos Catelin
parent
96157dabc0
commit
e7b2b880b9
+1
-1
@@ -33,7 +33,7 @@ var featuresCommand = cli.Command{
|
||||
OCIVersionMin: "1.0.0",
|
||||
OCIVersionMax: specs.Version,
|
||||
Annotations: map[string]string{
|
||||
runcfeatures.AnnotationRuncVersion: version,
|
||||
runcfeatures.AnnotationRuncVersion: context.App.Version,
|
||||
runcfeatures.AnnotationRuncCommit: gitCommit,
|
||||
runcfeatures.AnnotationRuncCheckpointEnabled: "true",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user