Skip to content

Commit

Permalink
test nydus feature
Browse files Browse the repository at this point in the history
Signed-off-by: ChengyuZhu6 <[email protected]>
  • Loading branch information
ChengyuZhu6 committed Feb 8, 2024
1 parent e849dc8 commit 355498e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions image-rs/src/image.rs
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,12 @@ impl ImageClient {
}
};

if cfg!(feature = "nydus") {
println! ("Nydus is enabled");
}else {
println! ("Nydus is no enabled");
}

#[cfg(feature = "nydus")]
if utils::is_nydus_image(&image_manifest) {
{
Expand Down

0 comments on commit 355498e

Please sign in to comment.