From 5eda3fe9a98f1a0f39a1ec0f838a20b4547aca79 Mon Sep 17 00:00:00 2001 From: Dawn Chen Date: Mon, 20 Apr 2015 17:12:36 -0700 Subject: [PATCH] Remove deprecated comment. --- pkg/util/node.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkg/util/node.go b/pkg/util/node.go index a83a402df93..2aaf3ee05d5 100644 --- a/pkg/util/node.go +++ b/pkg/util/node.go @@ -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)