Not protect dangling images for integration-cli

Signed-off-by: Alexander Morozov <lk4d4@docker.com>
This commit is contained in:
Alexander Morozov 2015-04-24 13:16:51 -07:00
parent b76bbae413
commit 9bea123bdd
1 changed files with 4 additions and 1 deletions

View File

@ -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{}{}
}
}
}