Skip to content

Commit

Permalink
Changes per code review
Browse files Browse the repository at this point in the history
  • Loading branch information
dfong-adh committed Dec 19, 2024
1 parent 3a3eed5 commit ab2a3a8
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class DeleteSavedClaimRecordsJob
STATSD_KEY_PREFIX = 'worker.decision_review.delete_saved_claim_records'

def perform
Rails.logger.warn("#{self.class.name} job is deprecated and will be replaced by DR engine job")
ActiveSupport::Deprecation.new.warn("#{self.class.name} will be replaced by DR engine job")

return unless enabled?

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class FailureNotificationEmailJob
STATSD_KEY_PREFIX = 'worker.decision_review.failure_notification_email'

def perform
Rails.logger.warn("#{self.class.name} job is deprecated and will be replaced by DR engine job")
ActiveSupport::Deprecation.new.warn("#{self.class.name} job is deprecated and will be replaced by DR engine job")

return unless should_perform?

Expand Down
2 changes: 1 addition & 1 deletion app/sidekiq/decision_review/hlr_status_updater_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
module DecisionReview
class HlrStatusUpdaterJob < SavedClaimStatusUpdaterJob
def perform
Rails.logger.warn("#{self.class.name} job is deprecated and will be replaced by DR engine job")
ActiveSupport::Deprecation.new.warn("#{self.class.name} job is deprecated and will be replaced by DR engine job")
super
end

Expand Down
2 changes: 1 addition & 1 deletion app/sidekiq/decision_review/nod_status_updater_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
module DecisionReview
class NodStatusUpdaterJob < SavedClaimStatusUpdaterJob
def perform
Rails.logger.warn("#{self.class.name} job is deprecated and will be replaced by DR engine job")
ActiveSupport::Deprecation.new.warn("#{self.class.name} job is deprecated and will be replaced by DR engine job")
super
end

Expand Down
2 changes: 1 addition & 1 deletion app/sidekiq/decision_review/sc_status_updater_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
module DecisionReview
class ScStatusUpdaterJob < SavedClaimStatusUpdaterJob
def perform
Rails.logger.warn("#{self.class.name} job is deprecated and will be replaced by DR engine job")
ActiveSupport::Deprecation.new.warn("#{self.class.name} job is deprecated and will be replaced by DR engine job")
super
end

Expand Down

0 comments on commit ab2a3a8

Please sign in to comment.