satellite/audit: do not report offline to overlay (#3547)
This commit is contained in:
parent
366f4b9493
commit
af24581ac0
@ -13,6 +13,9 @@ import (
|
||||
"storj.io/storj/satellite/overlay"
|
||||
)
|
||||
|
||||
// We do not report offline nodes to the overlay at this time; see V3-3025.
|
||||
const reportOfflineDuringAudit = false
|
||||
|
||||
// Reporter records audit reports in overlay and implements the reporter interface
|
||||
//
|
||||
// architecture: Service
|
||||
@ -85,7 +88,8 @@ func (reporter *Reporter) RecordAudits(ctx context.Context, req Report, path sto
|
||||
errlist.Add(err)
|
||||
}
|
||||
}
|
||||
if len(offlines) > 0 {
|
||||
// We do not report offline nodes to the overlay at this time; see V3-3025.
|
||||
if len(offlines) > 0 && reportOfflineDuringAudit {
|
||||
offlines, err = reporter.recordOfflineStatus(ctx, offlines)
|
||||
if err != nil {
|
||||
errlist.Add(err)
|
||||
|
Loading…
Reference in New Issue
Block a user