diff options
author | Jon Bratseth <bratseth@verizonmedia.com> | 2019-11-12 22:50:27 +0100 |
---|---|---|
committer | Jon Bratseth <bratseth@verizonmedia.com> | 2019-11-12 22:50:27 +0100 |
commit | e82c39d65bd72620a110d9a737ab4305b9d3a5eb (patch) | |
tree | 41398e31046a14beaf46cdd383069403443be748 /config-model/src/main/java/com/yahoo/vespa/model/HostPorts.java | |
parent | 1f9f2bac2bdac8bd0ea93cca69c2e7585e73b4c2 (diff) |
Carry spec through
Diffstat (limited to 'config-model/src/main/java/com/yahoo/vespa/model/HostPorts.java')
-rw-r--r-- | config-model/src/main/java/com/yahoo/vespa/model/HostPorts.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/config-model/src/main/java/com/yahoo/vespa/model/HostPorts.java b/config-model/src/main/java/com/yahoo/vespa/model/HostPorts.java index 51b41e19a27..a80982fe75b 100644 --- a/config-model/src/main/java/com/yahoo/vespa/model/HostPorts.java +++ b/config-model/src/main/java/com/yahoo/vespa/model/HostPorts.java @@ -20,10 +20,6 @@ import java.util.logging.Level; */ public class HostPorts { - public HostPorts(String hostname) { - this.hostname = hostname; - } - final String hostname; public final static int BASE_PORT = 19100; final static int MAX_PORTS = 799; @@ -42,6 +38,10 @@ public class HostPorts { private Optional<NetworkPorts> networkPortsList = Optional.empty(); + public HostPorts(String hostname) { + this.hostname = hostname; + } + /** * Get the allocated network ports. * Should be called after allocation is complete and flushPortReservations has been called |