[lint] service.Init: ignore error by assigning it to blank identifier
This commit is contained in:
parent
1bd541b69e
commit
a54dee31de
@ -67,7 +67,7 @@ func (s *service) Init(opts ...Option) {
|
|||||||
|
|
||||||
s.once.Do(func() {
|
s.once.Do(func() {
|
||||||
// Initialise the command flags, overriding new service
|
// Initialise the command flags, overriding new service
|
||||||
s.opts.Cmd.Init(
|
_ = s.opts.Cmd.Init(
|
||||||
cmd.Broker(&s.opts.Broker),
|
cmd.Broker(&s.opts.Broker),
|
||||||
cmd.Registry(&s.opts.Registry),
|
cmd.Registry(&s.opts.Registry),
|
||||||
cmd.Transport(&s.opts.Transport),
|
cmd.Transport(&s.opts.Transport),
|
||||||
|
Loading…
Reference in New Issue
Block a user