Skip to content

Commit

Permalink
Rewrite the extra action info files if the data within them changes.
Browse files Browse the repository at this point in the history
--
MOS_MIGRATED_REVID=128468615
  • Loading branch information
lberki authored and damienmg committed Jul 27, 2016
1 parent 55e042a commit 3cf2126
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
import com.google.devtools.build.lib.concurrent.ThreadSafety.Immutable;
import com.google.devtools.build.lib.util.Fingerprint;
import com.google.devtools.build.lib.util.Preconditions;

import java.io.IOException;
import java.io.OutputStream;

Expand Down Expand Up @@ -68,6 +67,7 @@ protected String computeKey() {
Fingerprint f = new Fingerprint();
f.addString(UUID);
f.addString(shadowedAction.getKey());
f.addBytes(shadowedAction.getExtraActionInfo().build().toByteArray());
return f.hexDigestAndReset();
}
}

0 comments on commit 3cf2126

Please sign in to comment.