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
|
|
@ -46,7 +46,7 @@ func init() {
|
|||
|
||||
var illegalCharsRE = regexp.MustCompile(`[^a-zA-Z0-9_]`)
|
||||
|
||||
// Takes a prometheus registry and returns a new Collector scraping ganglia.
|
||||
// NewGmondCollector returns a new Collector scraping ganglia.
|
||||
func NewGmondCollector() (Collector, error) {
|
||||
warnDeprecated("gmond")
|
||||
c := gmondCollector{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue