From 24a46a652b7f4ad98518784d75f6cc2cb89c0313 Mon Sep 17 00:00:00 2001 From: Chris Cummer Date: Thu, 21 Jun 2018 08:52:04 -0700 Subject: [PATCH] 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 --- .goreleaser.yml | 1 + vendor/github.com/yfronto/newrelic/alert_events.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index e5ebdc42..4d59e654 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -8,6 +8,7 @@ builds: - darwin - linux goarch: + - 386 - amd64 archive: diff --git a/vendor/github.com/yfronto/newrelic/alert_events.go b/vendor/github.com/yfronto/newrelic/alert_events.go index 6291b499..ce3c298a 100644 --- a/vendor/github.com/yfronto/newrelic/alert_events.go +++ b/vendor/github.com/yfronto/newrelic/alert_events.go @@ -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"` }