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
|
|
@ -30,8 +30,8 @@ func init() {
|
|||
Factories["time"] = NewTimeCollector
|
||||
}
|
||||
|
||||
// Takes a prometheus registry and returns a new Collector exposing
|
||||
// the current system time in seconds since epoch.
|
||||
// NewTimeCollector returns a new Collector exposing the current system time in
|
||||
// seconds since epoch.
|
||||
func NewTimeCollector() (Collector, error) {
|
||||
return &timeCollector{
|
||||
desc: prometheus.NewDesc(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue