Print string of id, instead of id
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
0bd424fb39
commit
33cb6a16f0
|
@ -45,7 +45,7 @@ func run() {
|
|||
}
|
||||
defer h1.Close()
|
||||
// Print host ID to terminal
|
||||
log.Printf("Host ID: %s\n", h1.ID())
|
||||
log.Printf("Host ID: %s\n", h1.ID().String())
|
||||
|
||||
for _, addr := range h1.Addrs() {
|
||||
fmt.Printf("Listening on: %s\n", addr.String())
|
||||
|
|
Loading…
Reference in New Issue