summaryrefslogtreecommitdiffstats
path: root/hosted-api
diff options
context:
space:
mode:
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 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. */