mirror of
https://github.com/docker/compose.git
synced 2026-10-12 02:13:08 +00:00
down() validates options.Images upfront, but ImagePruner is exported and can be driven directly with a hand-built ImagePruneOptions that bypasses that check. Add a direct test for the Valid() guard added in the previous commit, so the two checks can't silently drift without a test catching it. Signed-off-by: Nicolas De Loof <[email protected]>