etcdserver/etcdhttp: fix typo

This commit is contained in:
Blake Mizerany 2014-08-27 16:36:57 -07:00 committed by Yicheng Qin
parent c4defbc45c
commit 38e8f3b764

View File

@ -64,7 +64,7 @@ func encodeResponse(ctx context.Context, w http.ResponseWriter, resp etcdserver.
return err
}
default:
panic("should not be rechable")
panic("should not be reachable")
}
w.Header().Set("Content-Type", "application/json")