Skip to content

Commit

Permalink
client/keys_bench_test.go: Fix some misspells
Browse files Browse the repository at this point in the history
Signed-off-by: zhoulin xie <[email protected]>
  • Loading branch information
JoeWrightss authored and hexfusion committed Feb 28, 2019
1 parent 5694f3e commit a943ad0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/keys_bench_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func benchmarkResponseUnmarshalling(b *testing.B, children, size int) {
newResponse := new(Response)
for i := 0; i < b.N; i++ {
if newResponse, err = unmarshalSuccessfulKeysResponse(header, body); err != nil {
b.Errorf("error unmarshaling response (%v)", err)
b.Errorf("error unmarshalling response (%v)", err)
}

}
Expand Down
2 changes: 1 addition & 1 deletion etcdserver/api/rafthttp/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ func (h *pipelineHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
} else {
plog.Errorf("failed to unmarshal raft message (%v)", err)
}
http.Error(w, "error unmarshaling raft message", http.StatusBadRequest)
http.Error(w, "error unmarshalling raft message", http.StatusBadRequest)
recvFailures.WithLabelValues(r.RemoteAddr).Inc()
return
}
Expand Down

0 comments on commit a943ad0

Please sign in to comment.