use time.Time for node events for compatibility

This commit is contained in:
Chelsea Holland Komlo
2018-03-27 13:22:29 -04:00
parent 6e35eec31e
commit 041786360e
5 changed files with 6 additions and 5 deletions

View File

@@ -429,7 +429,7 @@ func (c *NodeStatusCommand) outputNodeEvent(events []*api.NodeEvent) {
}
for i, event := range events {
timestamp := formatTime(time.Unix(event.Timestamp, 0))
timestamp := formatTime(event.Timestamp)
subsystem := event.Subsystem
msg := event.Message
if c.verbose {