diff --git a/cmd/neofs-node/main.go b/cmd/neofs-node/main.go index 726ad81aa5..d7d6bd8783 100644 --- a/cmd/neofs-node/main.go +++ b/cmd/neofs-node/main.go @@ -97,7 +97,7 @@ func preRunAndLog(c *cfg, name string, srv *httputil.Server) { }) }() - c.closers = append(c.veryLastClosers, func() { + c.veryLastClosers = append(c.veryLastClosers, func() { c.log.Debug(fmt.Sprintf("shutting down %s service", name)) err := srv.Shutdown()