Skip to content

Commit

Permalink
link to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphire-janrain committed Aug 24, 2023
1 parent fb373ca commit 2ff6a15
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/modules/k6/grpc/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,7 @@ func (c *Client) parseInvokeParams(paramsVal goja.Value) (*invokeParams, error)
if !ok {
return result, fmt.Errorf("metadata %q value must be binary", hk)
}
// https://github.com/grpc/grpc-go/blob/v1.57.0/Documentation/grpc-metadata.md#storing-binary-data-in-metadata
strval = string(binval)
} else if strval, ok = kv.(string); !ok {
return result, fmt.Errorf("metadata %q value must be a string", hk)
Expand Down

0 comments on commit 2ff6a15

Please sign in to comment.