write check summary at the end
This commit is contained in:
parent
5718da237f
commit
5285a14d27
@ -118,13 +118,10 @@ func (s *SplitStore) doCheck(curTs *types.TipSet) error {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
if coldCnt == 0 && missingCnt == 0 {
|
log.Infow("check done", "cold", coldCnt, "missing", missingCnt)
|
||||||
log.Info("check OK")
|
write("--")
|
||||||
write("OK")
|
write("cold: %d missing: %d", coldCnt, missingCnt)
|
||||||
} else {
|
write("DONE")
|
||||||
log.Infow("check failed", "cold", coldCnt, "missing", missingCnt)
|
|
||||||
write("FAILED")
|
|
||||||
}
|
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user