Fix all open go lint and vet issues
This commit is contained in:
parent
5289ffb270
commit
c703435790
37 changed files with 136 additions and 129 deletions
|
|
@ -31,7 +31,7 @@ func init() {
|
|||
Factories["loadavg"] = NewLoadavgCollector
|
||||
}
|
||||
|
||||
// Take a prometheus registry and return a new Collector exposing load average.
|
||||
// NewLoadavgCollector returns a new Collector exposing load average stats.
|
||||
func NewLoadavgCollector() (Collector, error) {
|
||||
return &loadavgCollector{
|
||||
metric: []typedDesc{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue