forked from TrueCloudLab/frostfs-node
923f84722a
Signed-off-by: Pavel Karpy <p.karpy@yadro.com>
19 lines
341 B
Go
19 lines
341 B
Go
package settlement
|
|
|
|
import "github.com/TrueCloudLab/frostfs-node/pkg/util/logger"
|
|
|
|
type auditEventHandler struct {
|
|
log *logger.Logger
|
|
|
|
epoch uint64
|
|
|
|
proc AuditProcessor
|
|
}
|
|
|
|
func (p *auditEventHandler) handle() {
|
|
p.log.Info("process audit settlements")
|
|
|
|
p.proc.ProcessAuditSettlements(p.epoch)
|
|
|
|
p.log.Info("audit processing finished")
|
|
}
|