Skip to content

Commit

Permalink
oai: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
boutros committed Mar 17, 2019
1 parent 2767474 commit b3ff4f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions oai/harvester.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type ProcessStatus uint

// Available ProcessStatuses
const (
StautsNew ProcessStatus = iota
StatusNew ProcessStatus = iota
StatusUpdated
StatusDeleted
StatusFailed
Expand Down Expand Up @@ -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++
Expand Down

0 comments on commit b3ff4f8

Please sign in to comment.