[#391] Remove unused notification controller from app state

Now controller is a part of handler.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
Alex Vanin 2022-05-06 11:03:06 +03:00
parent 94caa2247e
commit 9d3e6f75be

View file

@ -35,7 +35,6 @@ type (
tls *tlsConfig
obj layer.Client
api api.Handler
nc *notifications.Controller
maxClients api.MaxClients
@ -181,7 +180,6 @@ func newApp(ctx context.Context, l *zap.Logger, v *viper.Viper) *App {
obj: obj,
tls: tls,
api: caller,
nc: nc,
webDone: make(chan struct{}, 1),
wrkDone: make(chan struct{}, 1),