forked from TrueCloudLab/frostfs-node
[#1023] innerring/subnet: fix subnet removal event processing
Caught by `unused` linter. Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
a82ac0edcd
commit
f96bb8d3b8
1 changed files with 1 additions and 1 deletions
|
@ -263,7 +263,7 @@ func (s *Server) handleSubnetCreation(e event.Event) {
|
|||
// catchSubnetRemoval catches event of subnet removal from listener and queues the processing.
|
||||
func (s *Server) catchSubnetRemoval(e event.Event) {
|
||||
err := s.subnetHandler.workerPool.Submit(func() {
|
||||
s.handleSubnetCreation(e)
|
||||
s.handleSubnetRemoval(e)
|
||||
})
|
||||
if err != nil {
|
||||
s.log.Error("subnet removal queue failure",
|
||||
|
|
Loading…
Reference in a new issue