Fix trivial tyop (#107)
authorMatt Titmus <matthew.titmus@gmail.com>
Fri, 27 Jan 2017 19:47:59 +0000 (14:47 -0500)
committerBrian Brazil <brian-brazil@users.noreply.github.com>
Fri, 27 Jan 2017 19:47:59 +0000 (19:47 +0000)
main.go

diff --git a/main.go b/main.go
index d6901ed128a6d1fd7959662bec772cad894a1c99..5cd40e946be8ef8d9ee781e131a700e50f7b0277 100644 (file)
--- 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()