diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2018-06-04 13:53:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-04 13:53:39 +0200 |
commit | 07c5fb4af743bea778d1e42c22412cc93afa42d2 (patch) | |
tree | 41abc83ba335fb032b2964ea25f29917e5606c9c /vespajlib | |
parent | 4041b5ad7f9e1d1ee1acc1a1db055089a48bcfc4 (diff) | |
parent | 258bec0a21196a15012d0311dde896c2e01bc95f (diff) |
Merge pull request #6067 from vespa-engine/arnej/update-javadoc
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 */ |