Browse Source

Remove comment and b.UtilizeCache check.

Signed-off-by: AnandkumarPatel <anandkumarpatel@gmail.com>
AnandkumarPatel 10 năm trước cách đây
mục cha
commit
1a5ea50aa8
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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 {
 		return err
 	}
-	// If we do not have at least one hash, never use the cache
-	if hit && b.UtilizeCache {
+
+	if hit {
 		return nil
 	}