exporters/otlp: fix spelling errors (#5050)
This commit is contained in:
parent
1fe2f03854
commit
9184b10456
|
@ -227,7 +227,7 @@ func (c *client) newRequest(ctx context.Context, body []byte) (request, error) {
|
|||
if _, err := gz.Write(body); err != nil {
|
||||
return req, err
|
||||
}
|
||||
// Close needs to be called to ensure body if fully written.
|
||||
// Close needs to be called to ensure body is fully written.
|
||||
if err := gz.Close(); err != nil {
|
||||
return req, err
|
||||
}
|
||||
|
|
|
@ -236,7 +236,7 @@ func (d *client) newRequest(body []byte) (request, error) {
|
|||
if _, err := gz.Write(body); err != nil {
|
||||
return req, err
|
||||
}
|
||||
// Close needs to be called to ensure body if fully written.
|
||||
// Close needs to be called to ensure body is fully written.
|
||||
if err := gz.Close(); err != nil {
|
||||
return req, err
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue