fixed typo
This commit is contained in:
2
main.go
2
main.go
@@ -106,7 +106,7 @@ func doPing(host string, count int, interval time.Duration) (*ping.Statistics, e
|
|||||||
}
|
}
|
||||||
|
|
||||||
if pinger.Source == "" {
|
if pinger.Source == "" {
|
||||||
return nil, fmt.Errorf("interface %s has no suitable addressed assigned", conf.UploadInterface)
|
return nil, fmt.Errorf("interface %s has no suitable address assigned", conf.UploadInterface)
|
||||||
}
|
}
|
||||||
|
|
||||||
err = pinger.Run()
|
err = pinger.Run()
|
||||||
|
Reference in New Issue
Block a user