Revert "omit driver key/val from details"
This reverts commit 74fc5543babc85e3fa16c048bce92e71826e53cc.
This commit is contained in:
parent
d5a4f28868
commit
baeadae990
|
@ -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, ", ")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue