fix typo in comments (#1840)
* remove global error tracking * rpc_server: fix invalid register err * fix typo Co-authored-by: Asim Aslam <asim@aslam.me>
This commit is contained in:
parent
5d5644f878
commit
3905686726
2
rpc.go
2
rpc.go
@ -265,7 +265,7 @@ func requestPayload(r *http.Request) ([]byte, error) {
|
|||||||
|
|
||||||
// otherwise as per usual
|
// otherwise as per usual
|
||||||
ctx := r.Context()
|
ctx := r.Context()
|
||||||
// dont user meadata.FromContext as it mangles names
|
// dont user metadata.FromContext as it mangles names
|
||||||
md, ok := metadata.FromContext(ctx)
|
md, ok := metadata.FromContext(ctx)
|
||||||
if !ok {
|
if !ok {
|
||||||
md = make(map[string]string)
|
md = make(map[string]string)
|
||||||
|
Loading…
Reference in New Issue
Block a user