mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-28 09:41:57 +00:00
Fix comment
This commit is contained in:
committed by
David Kaltschmidt
parent
f1d225c836
commit
4444a405e0
@@ -2,7 +2,7 @@ package hostname
|
||||
|
||||
import "os"
|
||||
|
||||
// Hostname returns the hostname of this host.
|
||||
// Get returns the hostname of this host.
|
||||
func Get() string {
|
||||
if hostname := os.Getenv("SCOPE_HOSTNAME"); hostname != "" {
|
||||
return hostname
|
||||
|
||||
Reference in New Issue
Block a user