Skip to content

Commit

Permalink
Remove unnecessary interpolation
Browse files Browse the repository at this point in the history
  • Loading branch information
SaravShah committed Mar 23, 2018
1 parent ae96c07 commit f6d0c3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/audit/checksum.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def self.validate_druid(druid)
puts start_msg
Rails.logger.info start_msg
pres_copies = PreservedCopy.joins(:preserved_object).where(preserved_objects: { druid: druid })
Rails.logger.error("Found #{pres_copies.size} preserved copies.") if pres_copies.empty?
Rails.logger.error("Found 0 preserved copies.") if pres_copies.empty?
pres_copies.each do |pc|
endpoint_name = pc.endpoint.endpoint_name
cv = ChecksumValidator.new(pc, endpoint_name)
Expand Down

0 comments on commit f6d0c3b

Please sign in to comment.