From b3ff4f88aab11809acb3b5976f0d97b5e80cb996 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petter=20Goks=C3=B8yr=20=C3=85sen?= Date: Sun, 17 Mar 2019 14:38:29 +0100 Subject: [PATCH] oai: typo --- oai/harvester.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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++