mirror of
https://github.com/pomerium/pomerium.git
synced 2025-06-02 02:42:57 +02:00
Appease golint gods
This commit is contained in:
parent
6b9f0d3f57
commit
353b4feaf6
5 changed files with 22 additions and 5 deletions
|
@ -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")
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue