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 | 9 |
1 files changed, 3 insertions, 6 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 3860941d0ec..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,11 +2,8 @@ package com.yahoo.vespaclient; public class ClusterDef { - public ClusterDef(String name) { - this.name = name; - } - - String name; - + private final String name; + public ClusterDef(String name) { this.name = name; } public String getName() { return name; } + public String getRoute() { return name + "-direct"; } } |