cleanup: remove unnecessary nil check before range
@@ -30,11 +30,9 @@ func WriteHttpRequestWithAdditionalHeaders(ctx context.Context, message binding.
return err
}
- if additionalHeaders != nil {
for k, v := range additionalHeaders {
req.Header[k] = v
}
- }
return nil
}
