Skip to content
This repository has been archived by the owner on Dec 8, 2023. It is now read-only.

Commit

Permalink
Merge pull request #143 from librato/bugfix/victor-ops-alert
Browse files Browse the repository at this point in the history
Bugfix/victor ops alert
  • Loading branch information
bryanmikaelian authored Oct 10, 2016
2 parents 75ca98e + d24056c commit 8b1a5c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/victorops.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def receive_alert
body.delete :api_key

# Keys that will soon be in the payload
body[:entity_id] = payload[:incident_key] || payload['alert']['id']
body[:entity_id] = payload['alert']['name'] || payload['alert']['id'] || payload[:incident_key]
if payload[:clear]
body[:clear] = payload[:clear]
body[:message_type] = "RECOVERY"
Expand Down

0 comments on commit 8b1a5c2

Please sign in to comment.