From 1e746a8a2b2f8a88903feca430f254605dcc6cc8 Mon Sep 17 00:00:00 2001 From: AnandkumarPatel Date: Tue, 24 Feb 2015 18:16:57 -0800 Subject: [PATCH] Set UtilizeCache to false on cache miss Signed-off-by: Anandkumar Patel Signed-off-by: AnandkumarPatel --- builder/internals.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/builder/internals.go b/builder/internals.go index 9668c5f3a3..54e2fe3bea 100644 --- a/builder/internals.go +++ b/builder/internals.go @@ -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