Remove deprecated comment.

This commit is contained in:
Dawn Chen 2015-04-20 17:12:36 -07:00
parent 28e0c68d65
commit 5eda3fe9a9

View File

@ -26,8 +26,6 @@ import (
func GetHostname(hostnameOverride string) string {
hostname := []byte(hostnameOverride)
if string(hostname) == "" {
// Note: We use exec here instead of os.Hostname() because we
// want the FQDN, and this is the easiest way to get it.
fqdn, err := exec.Command("uname", "-n").Output()
if err != nil {
glog.Fatalf("Couldn't determine hostname: %v", err)