Skip to content

Commit

Permalink
NARK-1388 NAS-2648 - forgot to change the pattern itself :(
Browse files Browse the repository at this point in the history
  • Loading branch information
svcarlsen authored and Knud Åge Hansen committed Oct 20, 2017
1 parent eb12cd4 commit 559ee68
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ protected Long cacheData(Long id) {
*/
private void migrateDuplicates(Long id, String replicaUsed, String specifiedPattern, BatchStatus originalBatchJob) {
File cacheFileName = getCacheFile(id);
Pattern duplicatePattern = Pattern.compile(".*duplicate:\"([^,]+),([0-9]+),.*");
Pattern duplicatePattern = Pattern.compile(".*duplicate:\"([^,]+),([0-9]+).*");
if (urlPattern.pattern().equals(MetadataFile.CRAWL_LOG_PATTERN)) {
GetMetadataArchiveBatchJob job2 = new GetMetadataArchiveBatchJob(Pattern.compile(".*duplicationmigration.*"), Pattern.compile("text/plain"));
job2.processOnlyFilesMatching(specifiedPattern);
Expand Down

0 comments on commit 559ee68

Please sign in to comment.