diff options
author | toby <smorgrav@yahoo-inc.com> | 2016-07-01 08:39:45 +0200 |
---|---|---|
committer | toby <smorgrav@yahoo-inc.com> | 2016-07-01 08:39:45 +0200 |
commit | 1abb352bc5f7858d2b6a727b737b3d1609d1f714 (patch) | |
tree | a5e340902c0dfbf9b9ec0d3d8ae58e0af8ce3c99 /orchestrator | |
parent | a6bd5913e4ea3cf33fc75afa24514e258194988a (diff) |
Only specialcase the known ApplicationInstanceReference that diviates
from the normal format
Diffstat (limited to 'orchestrator')
-rw-r--r-- | orchestrator/src/main/java/com/yahoo/vespa/orchestrator/OrchestratorUtil.java | 2 |
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()); |