From 5c51404e8b6eb2e4c9d4104fec35bc832877286b Mon Sep 17 00:00:00 2001 From: Chelsea Holland Komlo Date: Tue, 27 Mar 2018 15:21:02 -0400 Subject: [PATCH] fix up to string to use time.Time --- nomad/structs/structs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nomad/structs/structs.go b/nomad/structs/structs.go index 570fccb2c..9e0db1659 100644 --- a/nomad/structs/structs.go +++ b/nomad/structs/structs.go @@ -1198,7 +1198,7 @@ func (ne *NodeEvent) String() string { details = append(details, fmt.Sprintf("%s: %s", k, v)) } - return fmt.Sprintf("Message: %s, Subsystem: %s, Details: %s, Timestamp: %d", ne.Message, ne.Subsystem, strings.Join(details, ","), ne.Timestamp) + return fmt.Sprintf("Message: %s, Subsystem: %s, Details: %s, Timestamp: %s", ne.Message, ne.Subsystem, strings.Join(details, ","), ne.Timestamp.String()) } func (ne *NodeEvent) Copy() *NodeEvent {