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)
|
||||
response = ServicesTestAnswer
|
||||
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.Write([]byte(response))
|
||||
|
|
Loading…
Reference in New Issue