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 (
|
|||
|
||||
func Test_RegisterHTTPClientView(t *testing.T) {
|
||||
RegisterHTTPClientView()
|
||||
for _, v := range []*view.View{HTTPClientRequestCountView, HTTPClientRequestDurationView, HTTPClientRequestSizeView} {
|
||||
for _, v := range []*view.View{HTTPClientRequestCountView, HTTPClientRequestDurationView, HTTPClientResponseSizeView} {
|
||||
if view.Find(v.Name) != v {
|
||||
t.Errorf("Failed to find registered view %s", v.Name)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue