Change remaining audits to scan (#410)

This commit is contained in:
Zachary Rice authored and GitHub committed 2020-07-24 11:30:33 -04:00
1 parent 6ca7a11d88
commit fe69a17c9c
5 files changed
+15 -15

No files matched your search

+3 -3
View File
@@ -155,7 +155,7 @@ func (repo *Repo) Scan() error {
})
wg.Wait()
repo.Manager.RecordTime(manager.AuditTime(howLong(scanTimeStart)))
repo.Manager.RecordTime(manager.ScanTime(howLong(scanTimeStart)))
repo.Manager.IncrementCommits(cc)
return nil
}
@@ -185,7 +185,7 @@ func (repo *Repo) scanEmpty() error {
scanType: uncommittedScan,
})
}
repo.Manager.RecordTime(manager.AuditTime(howLong(scanTimeStart)))
repo.Manager.RecordTime(manager.ScanTime(howLong(scanTimeStart)))
return nil
}
@@ -295,7 +295,7 @@ func (repo *Repo) scanUncommitted() error {
if err != nil {
return err
}
repo.Manager.RecordTime(manager.AuditTime(howLong(scanTimeStart)))
repo.Manager.RecordTime(manager.ScanTime(howLong(scanTimeStart)))
return nil
}