mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-03-04 09:36:35 +00:00
Lint-fix: Final golint, ignore capitalisation rules
This commit is contained in:
committed by
Calle Pettersson
parent
93904954f4
commit
0121fd6471
@@ -22,6 +22,7 @@ type CPUCollector struct {
|
||||
DPCsTotal *prometheus.Desc
|
||||
}
|
||||
|
||||
// NewCPUCollector constructs a new CPUCollector
|
||||
func NewCPUCollector() (Collector, error) {
|
||||
const subsystem = "cpu"
|
||||
return &CPUCollector{
|
||||
|
||||
Reference in New Issue
Block a user