diff options
author | Arne Juul <arnej@yahoo-inc.com> | 2018-05-22 13:44:48 +0000 |
---|---|---|
committer | Arne Juul <arnej@yahoo-inc.com> | 2018-05-22 13:44:48 +0000 |
commit | 258bec0a21196a15012d0311dde896c2e01bc95f (patch) | |
tree | 8d6f643e8a6f77b6124bef1484d8409fd9987e67 /vespajlib | |
parent | c755ec751ac75625859188225184e80b2caf504e (diff) |
update documentation comments
Diffstat (limited to 'vespajlib')
-rw-r--r-- | vespajlib/src/main/java/com/yahoo/net/HostName.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vespajlib/src/main/java/com/yahoo/net/HostName.java b/vespajlib/src/main/java/com/yahoo/net/HostName.java index 9a48c82c369..0982373db09 100644 --- a/vespajlib/src/main/java/com/yahoo/net/HostName.java +++ b/vespajlib/src/main/java/com/yahoo/net/HostName.java @@ -5,6 +5,9 @@ import java.util.Optional; /** * Utilities for getting the hostname of the system running the JVM. + * Detection of the hostname is now done before starting any Vespa + * programs and provided in the environment variable VESPA_HOSTNAME; + * if that variable isn't set a default of "localhost" is always returned. * * @author arnej */ |