From 39056867265ac83377074c6ab0443951518c8c08 Mon Sep 17 00:00:00 2001 From: Di Wu Date: Thu, 16 Jul 2020 23:33:11 +0800 Subject: [PATCH] fix typo in comments (#1840) * remove global error tracking * rpc_server: fix invalid register err * fix typo Co-authored-by: Asim Aslam --- rpc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpc.go b/rpc.go index fb32637..5243c25 100644 --- a/rpc.go +++ b/rpc.go @@ -265,7 +265,7 @@ func requestPayload(r *http.Request) ([]byte, error) { // otherwise as per usual ctx := r.Context() - // dont user meadata.FromContext as it mangles names + // dont user metadata.FromContext as it mangles names md, ok := metadata.FromContext(ctx) if !ok { md = make(map[string]string)