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

View file

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