aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Googler <noreply@google.com>2017-11-02 13:49:30 -0400
committerGravatar John Cater <jcater@google.com>2017-11-03 09:53:02 -0400
commitdd885ae086a5aaf606749b6d3ed010c5eb31db5e (patch)
tree5a108948dfdc7a90affbfce9a89415284d3e1985 /src
parent61e53ce6ed4b7f9660187eda35599b121644735a (diff)
Mark authorization-related errors as user errors
Since the problem or the means to fix it is usually on the user side. RELNOTES=none PiperOrigin-RevId: 174348233
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/google/devtools/build/lib/actions/SpawnResult.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/actions/SpawnResult.java b/src/main/java/com/google/devtools/build/lib/actions/SpawnResult.java
index f66fc974b9..0241289f6a 100644
--- a/src/main/java/com/google/devtools/build/lib/actions/SpawnResult.java
+++ b/src/main/java/com/google/devtools/build/lib/actions/SpawnResult.java
@@ -103,7 +103,7 @@ public interface SpawnResult {
* The remote execution system did not allow the request due to missing authorization or
* authentication.
*/
- NOT_AUTHORIZED,
+ NOT_AUTHORIZED(true),
/**
* The Spawn was malformed.