Skip to content
This repository has been archived by the owner on Dec 1, 2018. It is now read-only.

Commit

Permalink
gofmt
Browse files Browse the repository at this point in the history
  • Loading branch information
andyxning committed Nov 14, 2016
1 parent 6de89b7 commit 6bd3a10
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions events/sinks/elasticsearch/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@ func eventToPoint(event *kube_api.Event) (*EsSinkPoint, error) {
EventTimestamp: event.LastTimestamp.Time.UTC(),
EventValue: value,
EventTags: map[string]string{
"eventType": event.Type,
"eventKind": event.InvolvedObject.Kind,
"eventReason": event.Reason,
"eventType": event.Type,
"eventKind": event.InvolvedObject.Kind,
"eventReason": event.Reason,
"eventMessage": event.Message,
"eventID": string(event.UID),
"eventID": string(event.UID),
},
}
if event.InvolvedObject.Kind == "Pod" {
Expand Down

0 comments on commit 6bd3a10

Please sign in to comment.