Skip to content
This repository was archived by the owner on Apr 2, 2024. It is now read-only.

Commit 3714844

Browse files
committed
Merge pull request #1896 from newrelic-forks/bgreen/minor-fix
Fix incorrect timestamp
2 parents 9c6ae0a + 09cfcd0 commit 3714844

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/docker/attacher.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ func (m *AttachManager) makePackDecorator(logger string,
313313
pack.Message.SetType("DockerLog")
314314
pack.Message.SetLogger(logger) // stderr or stdout
315315
pack.Message.SetHostname(m.hostname) // Use the host's hosntame
316-
pack.Message.SetTimestamp(time.Now().Unix())
316+
pack.Message.SetTimestamp(time.Now().UnixNano())
317317
pack.Message.SetUuid(uuid.NewRandom())
318318

319319
for name, value := range fields {

0 commit comments

Comments
 (0)