Skip to content

Commit

Permalink
Merge pull request #1079 from cgwalters/drop-lint-restriction
Browse files Browse the repository at this point in the history
lint: Drop ostree-container restriction
  • Loading branch information
cgwalters authored Feb 5, 2025
2 parents 6663e6f + 2bf14d9 commit d45864d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1048,11 +1048,6 @@ async fn run_from_opt(opt: Opt) -> Result<()> {
if list {
return lints::lint_list(std::io::stdout().lock());
}
if !ostree_ext::container_utils::is_ostree_container()? {
anyhow::bail!(
"Not in a ostree container, this command only verifies ostree containers."
);
}
let root = &Dir::open_ambient_dir(rootfs, cap_std::ambient_authority())?;
lints::lint(root, fatal_warnings, std::io::stdout().lock())?;
Ok(())
Expand Down

0 comments on commit d45864d

Please sign in to comment.