diff --git a/oai/harvester.go b/oai/harvester.go index dda97c2..165a205 100644 --- a/oai/harvester.go +++ b/oai/harvester.go @@ -12,7 +12,7 @@ type ProcessStatus uint // Available ProcessStatuses const ( - StautsNew ProcessStatus = iota + StatusNew ProcessStatus = iota StatusUpdated StatusDeleted StatusFailed @@ -62,7 +62,7 @@ func (h *Harvester) Run() (HarvestStats, error) { return stats, err } switch status { - case StautsNew: + case StatusNew: stats.NumAdded++ case StatusDeleted: stats.NumDeleted++