[#384] Add check of Notificator interface value

Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
This commit is contained in:
Angira Kekteeva 2022-03-25 15:13:54 +04:00 committed by Kirillov Denis
parent f0914b8a43
commit 83bb6fc020
3 changed files with 11 additions and 20 deletions

View file

@ -37,10 +37,6 @@ type Stream struct {
}
func NewController(p *Options, l *zap.Logger) (*Controller, error) {
if p == nil {
return nil, nil
}
ncopts := []nats.Option{
nats.Timeout(p.Timeout),
}