Bugfix: fix some typo and correct recoveries datasource
Bugfix: fix some typo and correct recoveries data source
This commit is contained in:
parent
4311c96a44
commit
119f6ff2e6
@ -183,13 +183,13 @@ var provingInfoCmd = &cli.Command{
|
||||
|
||||
fc, err := partition.Faults.Count()
|
||||
if err != nil {
|
||||
return xerrors.Errorf("count partition sectors: %w", err)
|
||||
return xerrors.Errorf("count partition faults: %w", err)
|
||||
}
|
||||
faults += fc
|
||||
|
||||
rc, err := partition.Faults.Count()
|
||||
rc, err := partition.Recoveries.Count()
|
||||
if err != nil {
|
||||
return xerrors.Errorf("count partition sectors: %w", err)
|
||||
return xerrors.Errorf("count partition recoveries: %w", err)
|
||||
}
|
||||
recovering += rc
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user