lib/sidekiq/job_alert/notifier.rb in sidekiq-job_alert-0.1.5 vs lib/sidekiq/job_alert/notifier.rb in sidekiq-job_alert-0.1.6
- old
+ new
@@ -5,10 +5,10 @@
module Sidekiq
module JobAlert
class Notifier
def initialize(config)
- @slack_config ||= YAML::load_file(config)
+ @slack_config = YAML.load_file(config)
@message = ''
end
def call
@message += make_dead_job_message