From 9d3e6f75be2803d58b23dd52e67d89a75750220f Mon Sep 17 00:00:00 2001 From: Alex Vanin Date: Fri, 6 May 2022 11:03:06 +0300 Subject: [PATCH] [#391] Remove unused notification controller from app state Now controller is a part of handler. Signed-off-by: Alex Vanin --- cmd/s3-gw/app.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/cmd/s3-gw/app.go b/cmd/s3-gw/app.go index 47067e5..3db5d3a 100644 --- a/cmd/s3-gw/app.go +++ b/cmd/s3-gw/app.go @@ -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),