Daniel Nephin 1910e2a246 checks: wait for goroutine to complete
CheckAlias already had a waitGroup, but the Add() call was happening too late, which was causing a race in tests. The add must happen before the goroutine is started.

CheckHTTP did not have a waitGroup, so I added it to match CheckAlias.

It looks like a lot of the implementation could be shared, and may not need all of channel, waitgroup and bool, but I will leave that refactor for another time.
2020-07-20 18:55:39 -04:00
..
2020-06-24 13:00:15 -04:00
2020-06-17 16:49:46 -04:00
2020-06-16 13:21:11 -04:00
2020-06-16 13:21:11 -04:00
2020-05-28 14:39:37 -04:00
2020-06-16 13:21:11 -04:00
2020-06-16 13:21:11 -04:00
2020-06-16 13:21:11 -04:00
2020-06-16 13:21:11 -04:00