Skip to content

Commit

Permalink
fix: property name compatibility (#2553)
Browse files Browse the repository at this point in the history
  • Loading branch information
alespour authored May 18, 2021
1 parent 53a1d22 commit 452f2b2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion alert.go
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ func newAlertNode(et *ExecutingTask, n *pipeline.AlertNode, d NodeDiagnostic) (a
Action: s.Action,
Method: s.Method,
Type: s.Type,
TID: s.TID,
TID: s.Tid,
Summary: s.Summary,
Device: s.Device,
Component: s.Component,
Expand Down
2 changes: 1 addition & 1 deletion pipeline/alert.go
Original file line number Diff line number Diff line change
Expand Up @@ -2421,7 +2421,7 @@ type ZenossHandler struct {

// Temporary transaction ID.
// If empty uses value from the configuration.
TID int64 `json:"tid"`
Tid int64 `json:"tid"`

// Collector name.
// If empty uses value from the configuration.
Expand Down
2 changes: 1 addition & 1 deletion pipeline/tick/alert.go
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ func (n *AlertNode) Build(a *pipeline.AlertNode) (ast.Node, error) {
Dot("action", h.Action).
Dot("method", h.Method).
Dot("type", h.Type).
Dot("tid", h.TID).
Dot("tid", h.Tid).
// standard event data element fields
Dot("summary", h.Summary).
Dot("device", h.Device).
Expand Down

0 comments on commit 452f2b2

Please sign in to comment.