Stop Counters where they're constructed and started

This commit is contained in:
greatroar committed 2020-11-09 13:03:31 +01:00
1 parent ddca699cd2
commit 21b787a4d1
8 files changed
+7 -11

No files matched your search

+1 -1
View File
@@ -44,7 +44,7 @@ func TestCheckRepo(t testing.TB, repo restic.Repository) {
// read data
errChan = make(chan error)
go chkr.ReadData(context.TODO(), nil, errChan)
go chkr.ReadData(context.TODO(), errChan)
for err := range errChan {
t.Error(err)