open-nomad/drivers/shared/eventer
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
..
eventer.go cleanup: prevent leaks from time.After 2022-02-02 14:32:26 -06:00
eventer_test.go docker: add default blocks for driver plugin config schema 2018-11-19 22:59:18 -05:00