Rename headers to metadata

Signed-off-by: Maksym Pavlenko <makpav@amazon.com>
This commit is contained in:
Maksym Pavlenko
2019-05-24 17:02:38 -07:00
parent 5926a92b70
commit 04523b9d2c
8 changed files with 208 additions and 208 deletions

View File

@@ -99,8 +99,8 @@ func (c *Client) Call(ctx context.Context, service, method string, req, resp int
cresp = &Response{}
)
if headers, ok := GetHeaders(ctx); ok {
creq.Headers = headers
if metadata, ok := GetMetadata(ctx); ok {
creq.Metadata = metadata
}
if dl, ok := ctx.Deadline(); ok {