mirror of
https://github.com/opencontainers/runc.git
synced 2026-06-30 19:58:25 +00: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>
This commit is contained in:
@@ -36,7 +36,7 @@ var featuresCommand = &cli.Command{
|
||||
OCIVersionMin: "1.0.0",
|
||||
OCIVersionMax: specs.Version,
|
||||
Annotations: map[string]string{
|
||||
runcfeatures.AnnotationRuncVersion: version,
|
||||
runcfeatures.AnnotationRuncVersion: cmd.Root().Version,
|
||||
runcfeatures.AnnotationRuncCommit: gitCommit,
|
||||
runcfeatures.AnnotationRuncCheckpointEnabled: "true",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user