Don't verbose print errors

This commit is contained in:
Stephen McQuay 2017-12-12 13:26:59 -08:00
parent 60c49f9f7d
commit 9ab0564adf
Signed by: sm
GPG Key ID: 4E4B72F479BA3CE5

View File

@ -50,7 +50,7 @@ func main() {
res, err := getDate(j.host, j.port)
if err != nil {
log.Printf("get date: %+v", err)
log.Printf("get date: %v", err)
return
}
fmt.Printf("%-24v %v\n", res.host, res.exp)