specify driver health messages

This commit is contained in:
Chelsea Holland Komlo
2018-03-27 19:03:01 -04:00
parent 3583f85343
commit cdfeac13a1
2 changed files with 10 additions and 1 deletions

View File

@@ -1070,6 +1070,7 @@ func (c *Client) updateNodeFromDriver(name string, fingerprint, health *structs.
Subsystem: "Driver",
Message: health.HealthDescription,
Timestamp: time.Now(),
Details: map[string]string{"driver": name},
}
c.triggerNodeEvent(event)
}