forked from TrueCloudLab/frostfs-s3-gw
[#122] Fix linter warnings
Signed-off-by: Alex Vanin <a.vanin@yadro.com>
This commit is contained in:
parent
e97fea30ea
commit
81e860481d
7 changed files with 24 additions and 30 deletions
|
@ -131,7 +131,7 @@ func NewController(p *Options, l *zap.Logger) (*Controller, error) {
|
|||
}, nil
|
||||
}
|
||||
|
||||
func (c *Controller) Subscribe(ctx context.Context, topic string, handler layer.MsgHandler) error {
|
||||
func (c *Controller) Subscribe(_ context.Context, topic string, handler layer.MsgHandler) error {
|
||||
ch := make(chan *nats.Msg, 1)
|
||||
|
||||
c.mu.RLock()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue