mirror of
https://github.com/kemko/nomad.git
synced 2026-01-07 10:55:42 +03:00
properly formatting unix timestamps
This commit is contained in:
@@ -429,7 +429,7 @@ func (c *NodeStatusCommand) outputNodeEvent(events []*api.NodeEvent) {
|
||||
}
|
||||
|
||||
for i, event := range events {
|
||||
timestamp := formatUnixNanoTime(event.Timestamp)
|
||||
timestamp := formatTime(time.Unix(event.Timestamp, 0))
|
||||
subsystem := event.Subsystem
|
||||
msg := event.Message
|
||||
if c.verbose {
|
||||
|
||||
Reference in New Issue
Block a user