TritonDataCenter / containerpilot

A service for autodiscovery and configuration of applications running in containers
Mozilla Public License 2.0
1.12k stars 136 forks source link

enter/exit maintenance events should also trigger job start #501

Closed tgross closed 7 years ago

tgross commented 7 years ago

In the case where a job is configured with a when: { once: "enterMaintenance"} (or "exitMaintenance"), we need to make sure we're both firing the handlers for that event and starting the job.