summaryrefslogtreecommitdiffstats
path: root/hosted-api
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@gmail.com>2022-02-23 11:18:08 +0100
committerJon Bratseth <bratseth@gmail.com>2022-02-23 11:18:08 +0100
commitd49afeaea9c407da990ed494266a0cc8374f48c1 (patch)
treee088490857e4565c18f7333436d9087dfc01b27b /hosted-api
parentf0ae94a10d7a83ddee2eaa484f34f0bd4dd01e02 (diff)
Replace 'out of capacity' by 'node allocation failure'
Diffstat (limited to 'hosted-api')
-rw-r--r--hosted-api/src/main/java/ai/vespa/hosted/api/ControllerHttpClient.java2
-rw-r--r--hosted-api/src/main/java/ai/vespa/hosted/api/DeploymentLog.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/hosted-api/src/main/java/ai/vespa/hosted/api/ControllerHttpClient.java b/hosted-api/src/main/java/ai/vespa/hosted/api/ControllerHttpClient.java
index 1352220166c..11a4d096312 100644
--- a/hosted-api/src/main/java/ai/vespa/hosted/api/ControllerHttpClient.java
+++ b/hosted-api/src/main/java/ai/vespa/hosted/api/ControllerHttpClient.java
@@ -551,7 +551,7 @@ public abstract class ControllerHttpClient {
case "aborted": return DeploymentLog.Status.aborted;
case "error": return DeploymentLog.Status.error;
case "testFailure": return DeploymentLog.Status.testFailure;
- case "outOfCapacity": return DeploymentLog.Status.outOfCapacity;
+ case "nodeAllocationFailure": return DeploymentLog.Status.nodeAllocationFailure;
case "installationFailed": return DeploymentLog.Status.installationFailed;
case "deploymentFailed": return DeploymentLog.Status.deploymentFailed;
case "endpointCertificateTimeout": return DeploymentLog.Status.endpointCertificateTimeout;
diff --git a/hosted-api/src/main/java/ai/vespa/hosted/api/DeploymentLog.java b/hosted-api/src/main/java/ai/vespa/hosted/api/DeploymentLog.java
index b7097ae8c9c..ea35732a7d6 100644
--- a/hosted-api/src/main/java/ai/vespa/hosted/api/DeploymentLog.java
+++ b/hosted-api/src/main/java/ai/vespa/hosted/api/DeploymentLog.java
@@ -117,7 +117,7 @@ public class DeploymentLog {
aborted,
error,
testFailure,
- outOfCapacity,
+ nodeAllocationFailure,
installationFailed,
deploymentFailed,
endpointCertificateTimeout,