fix mis-spelling in consul_test.go (#5836)

Signed-off-by: czm <zhongming.chang@daocloud.io>
This commit is contained in:
AllenZMC 2019-08-06 13:11:41 +08:00 committed by Brian Brazil
parent 8928094b56
commit 41151ca8dc
1 changed files with 1 additions and 1 deletions

View File

@ -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))