Skip to content

Commit

Permalink
Remove optional annotations
Browse files Browse the repository at this point in the history
Signed-off-by: Kotaro Inoue <[email protected]>
  • Loading branch information
musaprg committed Sep 22, 2024
1 parent de08e5b commit 9030bf0
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions crates/youki/src/commands/features.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Vec<String>> {
let mut available_caps = Vec::new();
Expand Down Expand Up @@ -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();

Expand Down

0 comments on commit 9030bf0

Please sign in to comment.