![]() Flush is another of the methods that will call WriteHeader if it hasn't happened yet. Since we want to call observeWriteHeader (if set), we need to do the WriteHeader call already here, similar to what we have done in Write and ReadFrom. This commit also adds comments explaining the above to not tempt developers to remove the WriteHeader call. Signed-off-by: beorn7 <beorn@grafana.com> |
||
---|---|---|
.. | ||
delegator.go | ||
http.go | ||
http_test.go | ||
instrument_client.go | ||
instrument_client_test.go | ||
instrument_server.go | ||
instrument_server_test.go |