sd: Fix stuck Azure service discovery (#5088)
Signed-off-by: Sylvain Rabot <s.rabot@lectra.com>
This commit is contained in:
parent
d7225ac4a2
commit
d9f4a8c95f
|
@ -362,6 +362,10 @@ func (d *Discovery) refresh() (tg *targetgroup.Group, err error) {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
// If we get here we haven't sent anything to the channel.
|
||||
// We need to send it something to release it.
|
||||
ch <- target{}
|
||||
}(i, vm)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue