From: Matt Titmus Date: Fri, 27 Jan 2017 19:47:59 +0000 (-0500) Subject: Fix trivial tyop (#107) X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=c38c584c77fb9f0559efa360255b17038fbaef7b;p=blackbox_exporter.git Fix trivial tyop (#107) --- diff --git a/main.go b/main.go index d6901ed..5cd40e9 100644 --- a/main.go +++ b/main.go @@ -118,12 +118,12 @@ func probeHandler(w http.ResponseWriter, r *http.Request, config *Config) { } module, ok := config.Modules[moduleName] if !ok { - http.Error(w, fmt.Sprintf("Unkown module %s", moduleName), 400) + http.Error(w, fmt.Sprintf("Unknown module %s", moduleName), 400) return } prober, ok := Probers[module.Prober] if !ok { - http.Error(w, fmt.Sprintf("Unkown prober %s", module.Prober), 400) + http.Error(w, fmt.Sprintf("Unknown prober %s", module.Prober), 400) return } start := time.Now()