daemon/events/testutils: remove redundant variable

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2019-10-12 17:32:20 +02:00
parent 5f47cef514
commit 1f7beb8594
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C

View file

@ -62,10 +62,9 @@ func Scan(text string) (*events.Message, error) {
attrs[kv[0]] = kv[1]
}
tu := time.Unix(t, tn)
return &events.Message{
Time: t,
TimeNano: tu.UnixNano(),
TimeNano: time.Unix(t, tn).UnixNano(),
Type: md["eventType"],
Action: md["action"],
Actor: events.Actor{