1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Set UtilizeCache to false on cache miss

Signed-off-by: Anandkumar Patel <anandkumarpatel@gmail.com>

Signed-off-by: AnandkumarPatel <anandkumarpatel@gmail.com>
This commit is contained in:
AnandkumarPatel 2015-02-24 18:16:57 -08:00
parent 309eec2378
commit 1e746a8a2b

View file

@ -512,6 +512,8 @@ func (b *Builder) probeCache() (bool, error) {
return true, nil return true, nil
} else { } else {
log.Debugf("[BUILDER] Cache miss") log.Debugf("[BUILDER] Cache miss")
// after a miss we no longer need to probe
b.UtilizeCache = false
} }
} }
return false, nil return false, nil