onceProvider sends updates once (if any) and closes the update channel.
| 1504 | |
| 1505 | // onceProvider sends updates once (if any) and closes the update channel. |
| 1506 | type onceProvider struct { |
| 1507 | tgs []*targetgroup.Group |
| 1508 | } |
| 1509 | |
| 1510 | func (o onceProvider) Run(_ context.Context, ch chan<- []*targetgroup.Group) { |
| 1511 | if len(o.tgs) > 0 { |
nothing calls this directly
no outgoing calls
no test coverage detected