summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Marius Venstad <jonmv@users.noreply.github.com>2020-01-21 09:38:49 +0100
committerGitHub <noreply@github.com>2020-01-21 09:38:49 +0100
commit4cdf8bf167755f70c127514bda16a40b568487c0 (patch)
tree2589c0d31b200ddc50b84b7f76881cfad54ce9af
parent73f1b28590558a39d1ac29ffeaa45448c5b08593 (diff)
Don't special-case pointlessly
-rw-r--r--controller-server/src/main/java/com/yahoo/vespa/hosted/controller/deployment/JobMetrics.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/deployment/JobMetrics.java b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/deployment/JobMetrics.java
index 6c237b073f1..a6ffb56492f 100644
--- a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/deployment/JobMetrics.java
+++ b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/deployment/JobMetrics.java
@@ -57,7 +57,6 @@ public class JobMetrics {
case error: return error;
case aborted: return abort;
case success: return success;
- case running: throw new IllegalArgumentException("Not supposed to get this value");
default: throw new IllegalArgumentException("Unexpected run status '" + status + "'");
}
}