diff options
author | Jon Marius Venstad <jvenstad@yahoo-inc.com> | 2019-05-13 10:22:23 +0200 |
---|---|---|
committer | Jon Marius Venstad <jvenstad@yahoo-inc.com> | 2019-05-13 10:22:23 +0200 |
commit | 8c59c78859f5e84cdd4ca93d4f841c2a87f851e3 (patch) | |
tree | 659d99249dfc0327888e3a56b4d7609985aaf9bd /hosted-api | |
parent | 36586509a39dcacd030fead2ccd253fc53dfdb12 (diff) |
Strip "vaas-" from region names for jobs >_<
Diffstat (limited to 'hosted-api')
-rw-r--r-- | hosted-api/src/main/java/ai/vespa/hosted/api/ControllerHttpClient.java | 2 |
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 278c80c48ba..eeeff2873f5 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), - "deploy", zone.environment().value() + "-" + zone.region().value()); + "deploy", zone.environment().value() + "-" + zone.region().value().replaceAll("vaas-", "")); } private URI defaultRegionPath() { |