forked from TrueCloudLab/frostfs-s3-gw
[#384] Add check of Notificator interface value
Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
This commit is contained in:
parent
f0914b8a43
commit
83bb6fc020
3 changed files with 11 additions and 20 deletions
|
@ -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),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue