This commit is contained in:
Krasi Georgiev 2018-01-12 12:19:52 +00:00
parent 546c29af5b
commit abfd9f1920
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ type Manager struct {
actionCh chan func(context.Context)
discoverCancel []context.CancelFunc
// Some Discoverers(eg. k8s) send only the updates for a given target group
// so we use map[tg.Source]*targetgroup.Group to know which group to update.
// so we use map[tg.Source]*targetgroup.Group to know which group to update.
targets map[poolKey]map[string]*targetgroup.Group
// The sync channels sends the updates in map[targetSetName] where targetSetName is the job value from the scrape config.
syncCh chan map[string][]*targetgroup.Group