Skip to content

Commit 2bf14d9

Browse files
committed
lint: Drop ostree-container restriction
We now support deploying containers without `sysroot/ostree`, so drop the requirement for the linter to find that. Signed-off-by: Colin Walters <[email protected]>
1 parent 5e0df36 commit 2bf14d9

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lib/src/cli.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1048,11 +1048,6 @@ async fn run_from_opt(opt: Opt) -> Result<()> {
10481048
if list {
10491049
return lints::lint_list(std::io::stdout().lock());
10501050
}
1051-
if !ostree_ext::container_utils::is_ostree_container()? {
1052-
anyhow::bail!(
1053-
"Not in a ostree container, this command only verifies ostree containers."
1054-
);
1055-
}
10561051
let root = &Dir::open_ambient_dir(rootfs, cap_std::ambient_authority())?;
10571052
lints::lint(root, fatal_warnings, std::io::stdout().lock())?;
10581053
Ok(())

0 commit comments

Comments
 (0)