From c38c584c77fb9f0559efa360255b17038fbaef7b Mon Sep 17 00:00:00 2001 From: Matt Titmus Date: Fri, 27 Jan 2017 14:47:59 -0500 Subject: [PATCH] Fix trivial tyop (#107) --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() -- 2.25.1