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:
parent
309eec2378
commit
1e746a8a2b
1 changed files with 2 additions and 0 deletions
|
@ -512,6 +512,8 @@ func (b *Builder) probeCache() (bool, error) {
|
|||
return true, nil
|
||||
} else {
|
||||
log.Debugf("[BUILDER] Cache miss")
|
||||
// after a miss we no longer need to probe
|
||||
b.UtilizeCache = false
|
||||
}
|
||||
}
|
||||
return false, nil
|
||||
|
|
Loading…
Add table
Reference in a new issue