From 9030bf0811d1db530b669a9f6622c9245cba3bd5 Mon Sep 17 00:00:00 2001 From: Kotaro Inoue Date: Sun, 22 Sep 2024 23:20:45 +0900 Subject: [PATCH] Remove optional annotations Signed-off-by: Kotaro Inoue --- crates/youki/src/commands/features.rs | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/crates/youki/src/commands/features.rs b/crates/youki/src/commands/features.rs index d981bb2f3..3cc664f83 100644 --- a/crates/youki/src/commands/features.rs +++ b/crates/youki/src/commands/features.rs @@ -12,9 +12,6 @@ use oci_spec::runtime::{ SeccompBuilder, }; -// TODO: Add youki specific annotations such as version, commit hash etc. -pub const ANNOTATION_LIBSECCOMP_VERSION: &str = "io.github.seccomp.libseccomp.version"; - // Function to query and return capabilities fn query_caps() -> Result> { let mut available_caps = Vec::new(); @@ -232,14 +229,6 @@ pub fn features(_: Features) -> Result<()> { .hooks(known_hooks()) .mount_options(known_mount_options()) .linux(linux) - .annotations({ - let mut annotations_map = HashMap::new(); - annotations_map.insert( - ANNOTATION_LIBSECCOMP_VERSION.to_string(), - String::from("2.5.3"), - ); - annotations_map - }) .build() .unwrap();