Evgenii Stratonikov
0e31c12e63
Drop duplicate entities. Format entities. Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com> Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
22 lines
434 B
Go
22 lines
434 B
Go
package settlement
|
|
|
|
import (
|
|
"git.frostfs.info/TrueCloudLab/frostfs-node/internal/logs"
|
|
"git.frostfs.info/TrueCloudLab/frostfs-node/pkg/util/logger"
|
|
)
|
|
|
|
type auditEventHandler struct {
|
|
log *logger.Logger
|
|
|
|
epoch uint64
|
|
|
|
proc AuditProcessor
|
|
}
|
|
|
|
func (p *auditEventHandler) handle() {
|
|
p.log.Info(logs.SettlementProcessAuditSettlements)
|
|
|
|
p.proc.ProcessAuditSettlements(p.epoch)
|
|
|
|
p.log.Info(logs.SettlementAuditProcessingFinished)
|
|
}
|