From e7b68ad0a14fd74f70267738716fcc116e4f019d Mon Sep 17 00:00:00 2001 From: Jon Marius Venstad Date: Sat, 26 Oct 2019 10:16:44 +0200 Subject: Use "production" for prod job names --- hosted-api/src/main/java/ai/vespa/hosted/api/ControllerHttpClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hosted-api/src/main') 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. */ -- cgit v1.2.3