cert-manager/pkg/scheduler
Euan Kemp b7d4470f81 pkg/scheduler: fix minor race
While unlikely, it was possible before for the scheduler to race in such
a way that concurrent 'Add' calls would result in "leaking" a timer,
thus making an unstoppable invocation of that event.

This includes a test which fails without the small bugfix in
scheduler.go
2018-06-25 12:01:51 -07:00
..
scheduler_test.go pkg/scheduler: fix minor race 2018-06-25 12:01:51 -07:00
scheduler.go pkg/scheduler: fix minor race 2018-06-25 12:01:51 -07:00