diff options
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnRunner.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnRunner.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnRunner.java b/src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnRunner.java index bb858a924a..2700ba147e 100644 --- a/src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnRunner.java +++ b/src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnRunner.java @@ -169,6 +169,7 @@ class RemoteSpawnRunner implements SpawnRunner { try { return downloadRemoteResults(cachedResult, policy.getFileOutErr()) .setCacheHit(true) + .setRunnerName("remote cache hit") .build(); } catch (CacheNotFoundException e) { // No cache hit, so we fall through to local or remote execution. @@ -210,7 +211,7 @@ class RemoteSpawnRunner implements SpawnRunner { try { return downloadRemoteResults(result, policy.getFileOutErr()) - .setRunnerName(remoteCacheHit ? "" : getName()) + .setRunnerName(remoteCacheHit ? "remote cache hit" : getName()) .setCacheHit(remoteCacheHit) .build(); } catch (IOException e) { |