mirror of https://github.com/prometheus/prometheus
Merge pull request #999 from prometheus/fabxc/spinfix
Only exit static target provider on donepull/1000/head
commit
205d391409
|
@ -545,6 +545,7 @@ func (sd *StaticProvider) Run(ch chan<- *config.TargetGroup, done <-chan struct{
|
||||||
case ch <- tg:
|
case ch <- tg:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
<-done
|
||||||
}
|
}
|
||||||
|
|
||||||
// TargetGroups returns the provider's target groups.
|
// TargetGroups returns the provider's target groups.
|
||||||
|
|
Loading…
Reference in New Issue