mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-09 23:24:05 -08:00
fix mis-spelling in consul_test.go (#5836)
Signed-off-by: czm <zhongming.chang@daocloud.io>
This commit is contained in:
parent
8928094b56
commit
41151ca8dc
|
@ -214,7 +214,7 @@ func newServer(t *testing.T) (*httptest.Server, *SDConfig) {
|
||||||
time.Sleep(5 * time.Second)
|
time.Sleep(5 * time.Second)
|
||||||
response = ServicesTestAnswer
|
response = ServicesTestAnswer
|
||||||
default:
|
default:
|
||||||
t.Errorf("Unhandeld consul call: %s", r.URL)
|
t.Errorf("Unhandled consul call: %s", r.URL)
|
||||||
}
|
}
|
||||||
w.Header().Add("X-Consul-Index", "1")
|
w.Header().Add("X-Consul-Index", "1")
|
||||||
w.Write([]byte(response))
|
w.Write([]byte(response))
|
||||||
|
|
Loading…
Reference in a new issue