Skip to content

Commit

Permalink
No inlining support; ignore contents
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerwilliams committed Sep 2, 2020
1 parent efae66d commit e109e9b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func (s *ActionCacheServer) checkDirExists(ctx context.Context, cache interfaces
func (s *ActionCacheServer) validateActionResult(ctx context.Context, cache interfaces.Cache, r *repb.ActionResult) error {
outputFileDigests := make([]*repb.Digest, 0, len(r.OutputFiles))
for _, f := range r.OutputFiles {
if len(f.Contents) > 0 && f.GetDigest().GetSizeBytes() > 0 {
if f.GetDigest().GetSizeBytes() > 0 {
outputFileDigests = append(outputFileDigests, f.GetDigest())
}
}
Expand Down

0 comments on commit e109e9b

Please sign in to comment.