f913bed325
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. |
||
---|---|---|
.. | ||
alias.go | ||
alias_test.go | ||
check.go | ||
check_test.go | ||
docker.go | ||
docker_unix.go | ||
docker_windows.go | ||
grpc.go | ||
grpc_test.go |