forked from TrueCloudLab/frostfs-s3-gw
[#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:
parent
94caa2247e
commit
9d3e6f75be
1 changed files with 0 additions and 2 deletions
|
@ -35,7 +35,6 @@ type (
|
||||||
tls *tlsConfig
|
tls *tlsConfig
|
||||||
obj layer.Client
|
obj layer.Client
|
||||||
api api.Handler
|
api api.Handler
|
||||||
nc *notifications.Controller
|
|
||||||
|
|
||||||
maxClients api.MaxClients
|
maxClients api.MaxClients
|
||||||
|
|
||||||
|
@ -181,7 +180,6 @@ func newApp(ctx context.Context, l *zap.Logger, v *viper.Viper) *App {
|
||||||
obj: obj,
|
obj: obj,
|
||||||
tls: tls,
|
tls: tls,
|
||||||
api: caller,
|
api: caller,
|
||||||
nc: nc,
|
|
||||||
|
|
||||||
webDone: make(chan struct{}, 1),
|
webDone: make(chan struct{}, 1),
|
||||||
wrkDone: make(chan struct{}, 1),
|
wrkDone: make(chan struct{}, 1),
|
||||||
|
|
Loading…
Reference in a new issue