forked from TrueCloudLab/frostfs-node
[#205] innerring: Provide alphabetState
param to epochTimer
Fix NPE, introduced in f09ee27a
.
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
parent
49cc23e03c
commit
ee7468daa7
1 changed files with 1 additions and 0 deletions
|
@ -323,6 +323,7 @@ func (s *Server) createIRFetcher() irFetcher {
|
|||
func (s *Server) initTimers(cfg *viper.Viper, processors *serverProcessors, morphClients *serverMorphClients) {
|
||||
s.epochTimer = newEpochTimer(&epochTimerArgs{
|
||||
l: s.log,
|
||||
alphabetState: s,
|
||||
newEpochHandlers: s.newEpochTickHandlers(),
|
||||
cnrWrapper: morphClients.CnrClient,
|
||||
epoch: s,
|
||||
|
|
Loading…
Reference in a new issue