Skip to content

Commit

Permalink
Fix transactionID field
Browse files Browse the repository at this point in the history
  • Loading branch information
loafoe committed Jun 20, 2023
1 parent 317ba01 commit 59b4b5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logger/storer.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func StartStorerWorker(fd *os.File, client Storer, template logging.Resource, co
// Prepare message
msg := template
msg.ID = uuid.New().String()
msg.TransactionID = template.ID
msg.TransactionID = msg.ID
msg.LogData.Message = base64.StdEncoding.EncodeToString([]byte(text))
msg.LogTime = time.Now().Format("2006-01-02T15:04:05.000Z07:00")

Expand Down

0 comments on commit 59b4b5f

Please sign in to comment.