From 1abb352bc5f7858d2b6a727b737b3d1609d1f714 Mon Sep 17 00:00:00 2001 From: toby Date: Fri, 1 Jul 2016 08:39:45 +0200 Subject: Only specialcase the known ApplicationInstanceReference that diviates from the normal format --- .../src/main/java/com/yahoo/vespa/orchestrator/OrchestratorUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'orchestrator') 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()); -- cgit v1.2.3