Lint-fix: Final golint, ignore capitalisation rules

This commit is contained in:
Calle Pettersson
2018-10-04 21:55:00 +02:00
committed by Calle Pettersson
parent 93904954f4
commit 0121fd6471
4 changed files with 6 additions and 3 deletions

View File

@@ -22,6 +22,7 @@ type CPUCollector struct {
DPCsTotal *prometheus.Desc
}
// NewCPUCollector constructs a new CPUCollector
func NewCPUCollector() (Collector, error) {
const subsystem = "cpu"
return &CPUCollector{