fix lint issues

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2021-02-13 01:44:23 +03:00
parent fd5ed64729
commit 4bf640cb15
19 changed files with 108 additions and 79 deletions

View File

@@ -36,7 +36,7 @@ func (r *request) Codec() codec.Codec {
}
func (r *request) Header() metadata.Metadata {
md, _ := metadata.FromContext(r.context)
md, _ := metadata.FromIncomingContext(r.context)
return md
}