diff options
author | Jon Marius Venstad <venstad@gmail.com> | 2019-10-26 10:16:44 +0200 |
---|---|---|
committer | Jon Marius Venstad <venstad@gmail.com> | 2019-10-26 10:16:44 +0200 |
commit | e7b68ad0a14fd74f70267738716fcc116e4f019d (patch) | |
tree | 78cc30097910d380fc3a1236f6d44fe81f9a4cf4 | |
parent | b4b92200de63b327f8d4bcea4ccb33b79f0b4138 (diff) |
Use "production" for prod job names
-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 e7eb014c91a..9edd59508d4 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 @@ -222,7 +222,7 @@ public abstract class ControllerHttpClient { } private static String jobNameOf(ZoneId zone) { - return zone.environment().value() + "-" + zone.region().value(); + return (zone.environment().isProduction() ? "production" : zone.environment().value()) + "-" + zone.region().value(); } /** Returns a response with a 2XX status code, with up to 10 attempts, or throws. */ |