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:
AnandkumarPatel
2015-02-24 18:29:26 -08:00
parent 8589971917
commit 2528f2e0d3
+2
View File
@@ -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