Skip to content

Commit

Permalink
Remove unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
mjgiarlo committed Dec 13, 2019
1 parent 763d58f commit 58c8d3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/services/audit_results.rb
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def report_results(logger=Rails.logger)
candidate_workflow_results = []
result_array.each do |r|
log_result(r, logger)
if r.key?(INVALID_MOAB) || r.key?(MOAB_NOT_FOUND)
if r.key?(INVALID_MOAB)
msg = "#{workflows_msg_prefix} || #{r.values.first}"
WorkflowReporter.report_error(druid, actual_version, 'moab-valid', msg)
elsif status_changed_to_ok?(r)
Expand Down

0 comments on commit 58c8d3a

Please sign in to comment.