* Build: leave temporary containers untouched after a failure to help debugging

Upstream-commit: e0e385ac696c339958cdb9b4094c25f120dae1ec
Component: engine
This commit is contained in:
Solomon Hykes
2013-05-23 11:12:54 -06:00
parent 0ae0970978
commit 0806baee13

View File

@ -32,12 +32,6 @@ type builderClient struct {
}
func (b *builderClient) clearTmp(containers, images map[string]struct{}) {
for c := range containers {
if _, _, err := b.cli.call("DELETE", "/containers/"+c, nil); err != nil {
utils.Debugf("%s", err)
}
utils.Debugf("Removing container %s", c)
}
for i := range images {
if _, _, err := b.cli.call("DELETE", "/images/"+i, nil); err != nil {
utils.Debugf("%s", err)