summaryrefslogtreecommitdiffstats
path: root/hosted-api
diff options
context:
space:
mode:
authorJon Marius Venstad <jvenstad@yahoo-inc.com>2019-05-10 16:20:52 +0200
committerJon Marius Venstad <jvenstad@yahoo-inc.com>2019-05-10 16:20:52 +0200
commitd1aecdcc3b05828d55352ee34d2a33b2b6e191de (patch)
treeeca236af871d7012a0c570e97ac38fe4a5280831 /hosted-api
parent840d4e0578dc627b75bcd0050f1b253e84cc30ed (diff)
Use correct API path
Diffstat (limited to 'hosted-api')
-rw-r--r--hosted-api/src/main/java/ai/vespa/hosted/api/ControllerHttpClient.java2
1 files changed, 1 insertions, 1 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 17cf38a9118..278c80c48ba 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
@@ -146,7 +146,7 @@ public abstract class ControllerHttpClient {
private URI deploymentJobPath(ApplicationId id, ZoneId zone) {
return concatenated(instancePath(id),
- "job", zone.environment().value() + "-" + zone.region().value());
+ "deploy", zone.environment().value() + "-" + zone.region().value());
}
private URI defaultRegionPath() {