Appease golint gods

This commit is contained in:
Travis Groth 2019-06-28 06:31:29 -04:00
parent 6b9f0d3f57
commit 353b4feaf6
5 changed files with 22 additions and 5 deletions

View file

@ -8,7 +8,7 @@ import (
// RegisterHTTPClientView registers the standard HTTPClient view.
// It must be called to see metrics in the configured exporters
func RegisterHTTPClientView() {
if err := view.Register(HTTPClientRequestCountView, HTTPClientRequestDurationView, HTTPClientRequestSizeView); err != nil {
if err := view.Register(HTTPClientRequestCountView, HTTPClientRequestDurationView, HTTPClientResponseSizeView); err != nil {
log.Warn().Err(err).Msg("Could not register HTTPClientView")
}
}