瀏覽代碼

Remove comment and b.UtilizeCache check.

Signed-off-by: AnandkumarPatel <anandkumarpatel@gmail.com>
AnandkumarPatel 10 年之前
父節點
當前提交
1a5ea50aa8
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      builder/internals.go

+ 2 - 2
builder/internals.go

@@ -187,8 +187,8 @@ func (b *Builder) runContextCommand(args []string, allowRemote bool, allowDecomp
 	if err != nil {
 	if err != nil {
 		return err
 		return err
 	}
 	}
-	// If we do not have at least one hash, never use the cache
-	if hit && b.UtilizeCache {
+
+	if hit {
 		return nil
 		return nil
 	}
 	}