fix: do no retry resolving the domain if there's a ctx error
What does this MR do?
during a ctx error the retriever was leaking the goroutine leading to the same error on each try and keeping around the goroutine more than retrieverTimeout.
Part of !677 (merged)
TODO
-
I added the Changelog
trailer (e.g.Changelog: added
) to the commits that need to be included in the changelog -
I added unit tests or they are not required -
I added acceptance tests or they are not required -
I added documentation (or it's not required) -
I followed code review guidelines -
I followed Go Style guidelines