mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
daemon/events/testutils: remove redundant variable
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
5f47cef514
commit
1f7beb8594
1 changed files with 1 additions and 2 deletions
|
@ -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{
|
||||
|
|
Loading…
Reference in a new issue