Skip to content

Commit

Permalink
fix: Filter out images whose repo or tag is <none> when listing images
Browse files Browse the repository at this point in the history
  • Loading branch information
gmpinder committed Feb 12, 2025
1 parent 9b707ee commit d084c3b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions process/drivers/docker_driver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -590,6 +590,7 @@ impl RunDriver for DockerDriver {

images
.into_iter()
.filter(|image| image.repository != "<none>" && image.tag != "<none>")
.map(|image| {
format!("{}:{}", image.repository, image.tag)
.parse::<Reference>()
Expand Down

0 comments on commit d084c3b

Please sign in to comment.