1
0
mirror of https://github.com/nginxinc/nginx-prometheus-exporter.git synced 2025-07-30 10:03:04 +03:00

Enable more linters (#622)

This commit is contained in:
Luca Comellini
2024-02-22 10:27:54 -08:00
committed by GitHub
parent e848697cec
commit d620391f71
9 changed files with 41 additions and 38 deletions

View File

@ -16,8 +16,8 @@ Reading: %d Writing: %d Waiting: %d
// NginxClient allows you to fetch NGINX metrics from the stub_status page.
type NginxClient struct {
apiEndpoint string
httpClient *http.Client
apiEndpoint string
}
// StubStats represents NGINX stub_status metrics.