diff --git a/discovery/azure/azure.go b/discovery/azure/azure.go index 7c999382e..ecdad07c1 100644 --- a/discovery/azure/azure.go +++ b/discovery/azure/azure.go @@ -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) }