mirror of
https://github.com/docker/cli.git
synced 2026-01-16 20:22:36 +03:00
Set UtilizeCache to false on cache miss
Signed-off-by: Anandkumar Patel <anandkumarpatel@gmail.com> Signed-off-by: AnandkumarPatel <anandkumarpatel@gmail.com> Upstream-commit: 1e746a8a2b2f8a88903feca430f254605dcc6cc8 Component: engine
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user