Skip to content
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.

Commit

Permalink
Fix json key of log line
Browse files Browse the repository at this point in the history
  • Loading branch information
duck8823 committed Jan 5, 2019
1 parent 134c05d commit 9fbed8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions domain/model/job/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ type Log interface {

// LogLine stores timestamp and message.
type LogLine struct {
Timestamp time.Time
Message string
Timestamp time.Time `json:"timestamp"`
Message string `json:"message"`
}

0 comments on commit 9fbed8c

Please sign in to comment.