Skip to content

Commit

Permalink
[lint] service.Init: ignore error by assigning it to blank identifier
Browse files Browse the repository at this point in the history
  • Loading branch information
shuLhan committed Mar 13, 2018
1 parent 1bd541b commit a54dee3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit a54dee3

Please sign in to comment.