summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--orchestrator/src/main/java/com/yahoo/vespa/orchestrator/OrchestratorUtil.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/OrchestratorUtil.java b/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/OrchestratorUtil.java
index 262d89cfd1e..e67e7564745 100644
--- a/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/OrchestratorUtil.java
+++ b/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/OrchestratorUtil.java
@@ -137,7 +137,7 @@ public class OrchestratorUtil {
// Env, region and instance seems to be optional due to the hardcoded config server app
// Assume here that first two are tenant and application name.
- if (appNameParts.length > 1 && appNameParts.length < 5) {
+ if (appNameParts.length == 2) {
return ApplicationId.from(TenantName.from(appNameParts[0]),
ApplicationName.from(appNameParts[1]),
InstanceName.defaultName());