Skip to content

Commit

Permalink
Changed logic to enable umbra harvesting for any job channel with "um…
Browse files Browse the repository at this point in the history
…bra" in name in lower/upper/mixed case.
  • Loading branch information
csrster committed Sep 4, 2018
1 parent 8326733 commit 3142070
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ public void doOneCrawl(Job job, String origHarvestName, String origHarvestDesc,
} else {
log.info("As we're using ARC as archiveFormat no WarcInfoMetadata was added to the template");
}
if (job.getChannel().equals(umbra))
if (job.getChannel().toLowerCase().contains(umbra.toLowerCase()))
{
log.info("Since we now are sure that it is an umbra channel we can insert umbra information");
HeritrixTemplate ht = job.getOrderXMLdoc();
Expand Down

0 comments on commit 3142070

Please sign in to comment.