mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03: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:
+1
-1
@@ -33,7 +33,7 @@ var featuresCommand = cli.Command{
|
|||||||
OCIVersionMin: "1.0.0",
|
OCIVersionMin: "1.0.0",
|
||||||
OCIVersionMax: specs.Version,
|
OCIVersionMax: specs.Version,
|
||||||
Annotations: map[string]string{
|
Annotations: map[string]string{
|
||||||
runcfeatures.AnnotationRuncVersion: version,
|
runcfeatures.AnnotationRuncVersion: context.App.Version,
|
||||||
runcfeatures.AnnotationRuncCommit: gitCommit,
|
runcfeatures.AnnotationRuncCommit: gitCommit,
|
||||||
runcfeatures.AnnotationRuncCheckpointEnabled: "true",
|
runcfeatures.AnnotationRuncCheckpointEnabled: "true",
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user