Include a total counter. This will be used to distinguish total scans regardless of success or not. this is needed in order to display initial progress when starting scans.
This commit is contained in:
@@ -425,7 +425,7 @@ func Test_setProgressCompleteWithRepo_Progress(t *testing.T) {
|
||||
|
||||
// Increment the progress counter by number of repos already processed.
|
||||
for i := 1; i <= tt.offset; i++ {
|
||||
s.Counter.Inc()
|
||||
s.Counter.IncSuccess()
|
||||
}
|
||||
|
||||
s.setProgressCompleteWithRepo(tt.offset, "")
|
||||
|
||||
Reference in New Issue
Block a user