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
|
|
@ -39,6 +39,7 @@ func init() {
|
|||
Factories["supervisord"] = NewSupervisordCollector
|
||||
}
|
||||
|
||||
// NewSupervisordCollector returns a new Collector exposing supervisord statistics.
|
||||
func NewSupervisordCollector() (Collector, error) {
|
||||
client, err := xmlrpc.NewClient(*supervisordURL, nil)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue