summaryrefslogtreecommitdiffstats
path: root/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/deployment/Step.java
diff options
context:
space:
mode:
Diffstat (limited to 'controller-server/src/main/java/com/yahoo/vespa/hosted/controller/deployment/Step.java')
-rw-r--r--controller-server/src/main/java/com/yahoo/vespa/hosted/controller/deployment/Step.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/deployment/Step.java b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/deployment/Step.java
index cb5b70ef80a..be46a9654b9 100644
--- a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/deployment/Step.java
+++ b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/deployment/Step.java
@@ -80,8 +80,8 @@ public enum Step {
public static Step.Status of(RunStatus status) {
switch (status) {
- case success :
- case aborted : throw new AssertionError("Unexpected run status '" + status + "'!");
+ case success : throw new AssertionError("Unexpected run status '" + status + "'!");
+ case aborted : return unfinished;
case running : return succeeded;
default : return failed;
}