mirror of
https://github.com/docker/docs.git
synced 2026-04-12 14:25:46 +07:00
Merge pull request #12764 from LK4D4/not_protect_dangling
Not protect dangling images for integration-cli
This commit is contained in:
@@ -408,7 +408,10 @@ func init() {
|
||||
}
|
||||
fields := strings.Fields(l)
|
||||
imgTag := fields[0] + ":" + fields[1]
|
||||
protectedImages[imgTag] = struct{}{}
|
||||
// just for case if we have dangling images in tested daemon
|
||||
if imgTag != "<none>:<none>" {
|
||||
protectedImages[imgTag] = struct{}{}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user