Skip to content

Commit

Permalink
remove traces of .id in favor of .check_id
Browse files Browse the repository at this point in the history
  • Loading branch information
auxesis committed Nov 24, 2009
1 parent fb624b2 commit f57eb16
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/flapjack/notifiers/mailer/mailer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ def notify(opts={})
mail = TMail::Mail.new
mail.to = opts[:who].email
mail.from = @from_address
mail.subject = "Check: #{opts[:result].id}, Status: #{opts[:result].status}"
mail.subject = "Check: #{opts[:result].check_id}, Status: #{opts[:result].status}"
mail.body = <<-DESC
Check #{opts[:result].id} returned the status "#{opts[:result].status}".
Check #{opts[:result].check_id} returned the status "#{opts[:result].status}".
Here was the output:
#{opts[:result].output}
You can respond to this issue at:
#{@website_uri}/issue/#{opts[:result].id}
#{@website_uri}/issue/#{opts[:result].check_id}
DESC

begin
Expand Down

0 comments on commit f57eb16

Please sign in to comment.