From: Matt Bostock Date: Wed, 25 Jan 2017 18:47:14 +0000 (+0000) Subject: Fix 'socker' typo (#104) X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=950b9e42d7eac99cdf35bcca075bff2001dd1b1d;p=blackbox_exporter.git Fix 'socker' typo (#104) `socker` should be `socket`. --- diff --git a/icmp.go b/icmp.go index 86f9a6e..5540534 100644 --- a/icmp.go +++ b/icmp.go @@ -122,7 +122,7 @@ func probeICMP(target string, w http.ResponseWriter, module Module) (success boo return } if _, err := socket.WriteTo(wb, ip); err != nil { - log.Errorf("Error writing to socker for %s: %s", target, err) + log.Errorf("Error writing to socket for %s: %s", target, err) return }