Skip to content

Commit 095a160

Browse files
fix(newrelic-entity): fix timestamp issue in entity deployment marker (#1760)
1 parent 5bf1c8b commit 095a160

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/entities/command_deployment.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ The deployment command marks a change for a New Relic entity
5757
if timestamp == 0 {
5858
params.Timestamp = nrtime.EpochMilliseconds(time.Now())
5959
} else {
60-
params.Timestamp = nrtime.EpochMilliseconds(time.UnixMilli(timestamp))
60+
params.Timestamp = nrtime.EpochMilliseconds(time.Unix(timestamp, 0))
6161
}
6262

6363
if version == "" {

0 commit comments

Comments
 (0)