소스 검색

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 {
 		return err
 	}
-	// If we do not have at least one hash, never use the cache
-	if hit && b.UtilizeCache {
+
+	if hit {
 		return nil
 	}