fixed golint/go vet
Change-Id: Id8aa01511f459d45f9dc3270e1d13b8682944016
This commit is contained in:
+1
-1
@@ -116,7 +116,7 @@ func main() {
|
||||
}
|
||||
hostname := "localhost"
|
||||
if hn, err := os.Hostname(); err != nil {
|
||||
log.Printf("problem getting hostname:", err)
|
||||
log.Printf("problem getting hostname: %v", err)
|
||||
} else {
|
||||
hostname = hn
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user