Skip to content

Commit

Permalink
Possible fix to NAS-2570 (jobs now have harvest_num starting with 1).
Browse files Browse the repository at this point in the history
  • Loading branch information
csrster committed Oct 24, 2016
1 parent 2cbd5fe commit 8a517d1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -309,9 +309,9 @@ private void validatePreviousHd(FullHarvest hd, PageContext context, I18n i18n)
}

// This query represents check one
HarvestStatusQuery hsq1 = new HarvestStatusQuery(preHd.getOid(), 0);
HarvestStatusQuery hsq1 = new HarvestStatusQuery(preHd.getOid(), 1);
// This query represents check two
HarvestStatusQuery hsq2 = new HarvestStatusQuery(preHd.getOid(), 0);
HarvestStatusQuery hsq2 = new HarvestStatusQuery(preHd.getOid(), 1);
// States needed to update the query for check two.
Set<JobStatus> chosenStates = new HashSet<JobStatus>();
chosenStates.add(JobStatus.NEW);
Expand Down

0 comments on commit 8a517d1

Please sign in to comment.