mirror of
https://github.com/kemko/nomad.git
synced 2026-01-07 10:55:42 +03:00
The `RetryJoin` function checks for an error and logs it before retrying. The error variables were shadowed which resulted in the errors never being logged. This predefines the variables to prevent them from being shadowed. The testlog package was also updated to support providing a custom writer which allows logging output to be easily caught and inspected.
6.7 KiB
6.7 KiB