Commit d9f4a8c9 authored by Sylvain Rabot's avatar Sylvain Rabot Committed by Brian Brazil
Browse files

sd: Fix stuck Azure service discovery (#5088)


Signed-off-by: default avatarSylvain Rabot <s.rabot@lectra.com>
parent d7225ac4
......@@ -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)
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment