diff options
Diffstat (limited to 'vespaclient-core/src/main/java/com/yahoo/vespaclient/ClusterDef.java')
-rw-r--r-- | vespaclient-core/src/main/java/com/yahoo/vespaclient/ClusterDef.java | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/vespaclient-core/src/main/java/com/yahoo/vespaclient/ClusterDef.java b/vespaclient-core/src/main/java/com/yahoo/vespaclient/ClusterDef.java index 95bd9cf1cb5..f3b8c189fc5 100644 --- a/vespaclient-core/src/main/java/com/yahoo/vespaclient/ClusterDef.java +++ b/vespaclient-core/src/main/java/com/yahoo/vespaclient/ClusterDef.java @@ -2,14 +2,8 @@ package com.yahoo.vespaclient; public class ClusterDef { - public ClusterDef(String name, String configId) { - this.name = name; - this.configId = configId; - } - - String name; - String configId; - + private final String name; + public ClusterDef(String name) { this.name = name; } public String getName() { return name; } - public String getConfigId() { return configId; } + public String getRoute() { return name + "-direct"; } } |