[p2p] refactor upnp to use new logger

This commit is contained in:
Anton Kaliaev
2017-05-13 10:24:59 +02:00
parent 16509ac3db
commit bc4e6566e7
3 changed files with 19 additions and 26 deletions
+1 -2
View File
@@ -20,8 +20,7 @@ func init() {
}
func probeUpnp(cmd *cobra.Command, args []string) error {
capabilities, err := upnp.Probe()
capabilities, err := upnp.Probe(logger)
if err != nil {
fmt.Println("Probe failed: %v", err)
} else {