Skip to content

Commit

Permalink
Merge pull request #184 from marquiz/devel/golangci-lint-4
Browse files Browse the repository at this point in the history
chore: omit error checking more explicitly
  • Loading branch information
elezar authored Jan 11, 2024
2 parents d5f9a68 + 359a06f commit c7cee40
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/cdi/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,9 @@ func GetRegistry(options ...Option) Registry {
new = true
})
if !new && len(options) > 0 {
reg.Configure(options...)
reg.Refresh()
// We don't care about errors here
_ = reg.Configure(options...)
_ = reg.Refresh()
}
return reg
}
Expand Down

0 comments on commit c7cee40

Please sign in to comment.