buildkite / lifecycled

A daemon for responding to AWS AutoScaling Lifecycle Hooks
MIT License
146 stars 34 forks source link

Defer call to stop ticker when spot listener returns #73

Closed itsdalmo closed 5 years ago

itsdalmo commented 5 years ago

Tiny fix for correctness on top of #72, related to #71.

Renamed tockChan to ticker since its no longer just the channel, and also because it is the naming we used for the ticker here: https://github.com/buildkite/lifecycled/blob/master/autoscaling.go#L165.