Fix eval-status bug

This commit is contained in:
Alex Dadgar 2017-07-25 09:20:19 -07:00
parent 5a2578eefe
commit f8b9fc4124
1 changed files with 1 additions and 1 deletions

View File

@ -229,7 +229,7 @@ func sortedTaskGroupFromMetrics(groups map[string]*api.AllocationMetric) []strin
func getTriggerDetails(eval *api.Evaluation) (noun, subject string) {
switch eval.TriggeredBy {
case "job-register", "job-deregister", "periodic-job", "rolling-update":
case "job-register", "job-deregister", "periodic-job", "rolling-update", "deployment-watcher":
return "Job ID", eval.JobID
case "node-update":
return "Node ID", eval.NodeID