open-nomad/drivers
Seth Hoenig db2347a86c cleanup: prevent leaks from time.After
This PR replaces use of time.After with a safe helper function
that creates a time.Timer to use instead. The new function returns
both a time.Timer and a Stop function that the caller must handle.

Unlike time.NewTimer, the helper function does not panic if the duration
set is <= 0.
2022-02-02 14:32:26 -06:00
..
docker cleanup: prevent leaks from time.After 2022-02-02 14:32:26 -06:00
exec build: upgrade and speedup circleci configuration 2022-01-24 08:28:14 -06:00
java client/fingerprint/java: improve java version string regex matching 2021-06-15 14:15:01 -05:00
mock Add gosimple linter (#9590) 2020-12-09 11:05:18 -08:00
qemu qemu: add args_allowlist to sandbox VM command line inputs 2021-11-19 11:11:52 -05:00
rawexec gofmt all the files 2021-10-01 10:14:28 -04:00
shared cleanup: prevent leaks from time.After 2022-02-02 14:32:26 -06:00