lnogueir commented on code in PR #21840:
URL: https://github.com/apache/beam/pull/21840#discussion_r896212908
##########
sdks/go/pkg/beam/io/fhirio/common.go:
##########
@@ -32,8 +38,54 @@ const (
baseMetricPrefix = "fhirio/"
)
+func executeRequestAndRecordLatency(ctx context.Context, latencyMs
*beam.Distribution, requestSupplier func() (*http.Response, error))
(*http.Response, error) {
Review Comment:
@youngoli, follow up to [this
comment](https://github.com/lnogueir/beam/pull/24#discussion_r896060946), I got
rid of the generic return value here because I double checked that the response
would always be a `*http.Response`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]