[lint] service.Init: ignore error by assigning it to blank identifier

This commit is contained in:
Shulhan 2018-03-13 17:51:33 +07:00
parent 1bd541b69e
commit a54dee31de

View File

@ -67,7 +67,7 @@ func (s *service) Init(opts ...Option) {
s.once.Do(func() {
// Initialise the command flags, overriding new service
s.opts.Cmd.Init(
_ = s.opts.Cmd.Init(
cmd.Broker(&s.opts.Broker),
cmd.Registry(&s.opts.Registry),
cmd.Transport(&s.opts.Transport),