mirror of
https://github.com/postmannen/ctrl.git
synced 2025-03-05 14:56:49 +00:00
corrected pattern
This commit is contained in:
parent
eede523999
commit
08dfcfb3c3
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@ func (s *server) readHttpListener() {
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
}
|
}
|
||||||
mux := http.NewServeMux()
|
mux := http.NewServeMux()
|
||||||
mux.HandleFunc("/metrics", s.readHTTPlistenerHandler)
|
mux.HandleFunc("/", s.readHTTPlistenerHandler)
|
||||||
|
|
||||||
err = http.Serve(n, mux)
|
err = http.Serve(n, mux)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Add table
Reference in a new issue