Revert "omit driver key/val from details"

This reverts commit 74fc5543babc85e3fa16c048bce92e71826e53cc.
This commit is contained in:
Chelsea Holland Komlo 2018-03-29 12:49:46 -04:00
parent d5a4f28868
commit baeadae990

View file

@ -453,10 +453,7 @@ func formatEventMessage(message, driverName string) string {
func formatEventDetails(details map[string]string) string { func formatEventDetails(details map[string]string) string {
output := make([]string, 0, len(details)) output := make([]string, 0, len(details))
for k, v := range details { for k, v := range details {
// this has already been interpolated into the event message output = append(output, fmt.Sprintf("%s: %s, ", k, v))
if k != "driver" {
output = append(output, fmt.Sprintf("%s: %s, ", k, v))
}
} }
return strings.Join(output, ", ") return strings.Join(output, ", ")
} }