satellite/audit: Improve code comment in reporter (#2838)
This commit is contained in:
parent
00b2e1a7d7
commit
df29699641
@ -137,7 +137,9 @@ func (reporter *Reporter) recordAuditFailStatus(ctx context.Context, failedAudit
|
|||||||
return nil, nil
|
return nil, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// recordOfflineStatus updates nodeIDs in overlay with isup=false
|
// recordOfflineStatus updates nodeIDs in overlay with isup=false. When there
|
||||||
|
// is any error the function return the list of nodes which haven't been
|
||||||
|
// recorded.
|
||||||
func (reporter *Reporter) recordOfflineStatus(ctx context.Context, offlineNodeIDs storj.NodeIDList) (failed storj.NodeIDList, err error) {
|
func (reporter *Reporter) recordOfflineStatus(ctx context.Context, offlineNodeIDs storj.NodeIDList) (failed storj.NodeIDList, err error) {
|
||||||
defer mon.Task()(&ctx)(&err)
|
defer mon.Task()(&ctx)(&err)
|
||||||
var errlist errs.Group
|
var errlist errs.Group
|
||||||
|
Loading…
Reference in New Issue
Block a user