Skip to content

Commit

Permalink
Style clean up
Browse files Browse the repository at this point in the history
Address style complaints by clippy
  • Loading branch information
rjschwei committed Nov 26, 2024
1 parent 9d14992 commit 96b07d3
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions flake-ctl/src/podman.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,8 @@ pub fn load(oci: &String) -> i32 {
// glob puts things in alpha sorted order which is expected to give
// us the highest version of the archive
for entry in glob(&container_archives)
.expect("Failed to read glob pattern") {
match entry {
Ok(path) => container_archive = path.display().to_string(),
Err(_) => {},
}
.expect("Failed to read glob pattern").flatten() {
container_archive = entry.display().to_string()
}
}
info!("podman load -i {}", container_archive);
Expand Down

0 comments on commit 96b07d3

Please sign in to comment.