projects
/
blackbox_exporter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4843e3
)
Fix trivial tyop (#107)
author
Matt Titmus
<matthew.titmus@gmail.com>
Fri, 27 Jan 2017 19:47:59 +0000
(14:47 -0500)
committer
Brian Brazil
<brian-brazil@users.noreply.github.com>
Fri, 27 Jan 2017 19:47:59 +0000
(19:47 +0000)
main.go
patch
|
blob
|
blame
|
history
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("Unk
n
own 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("Unk
n
own prober %s", module.Prober), 400)
return
}
start := time.Now()