1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

Closes #218. AlertEvent.Timestamp as int64 instead of int

Also created a PR in the upstream repo to fix this:

https://github.com/yfronto/newrelic/pull/61
This commit is contained in:
Chris Cummer 2018-06-21 08:52:04 -07:00
parent 343612eb5e
commit 24a46a652b
2 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,7 @@ builds:
- darwin
- linux
goarch:
- 386
- amd64
archive:

View File

@ -10,7 +10,7 @@ type AlertEvent struct {
EntityID int `json:"entity_id,omitempty"`
Priority string `json:"priority,omitempty"`
Description string `json:"description,omitempty"`
Timestamp int `json:"timestamp,omitempty"`
Timestamp int64 `json:"timestamp,omitempty"`
IncidentID int `json:"incident_id"`
}