Skip to content

Commit

Permalink
fix health report
Browse files Browse the repository at this point in the history
  • Loading branch information
yaohcn committed Apr 11, 2021
1 parent 1e6bba5 commit 844d1d3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions extern/sector-storage/stores/index.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,8 @@ func (i *Index) StorageReportHealth(ctx context.Context, id ID, report HealthRep
ent.fsi = report.Stat
if report.Err != "" {
ent.heartbeatErr = errors.New(report.Err)
} else {
ent.heartbeatErr = nil
}
ent.lastHeartbeat = time.Now()

Expand Down

0 comments on commit 844d1d3

Please sign in to comment.