Skip to content

Commit c7cee40

Browse files
authored
Merge pull request #184 from marquiz/devel/golangci-lint-4
chore: omit error checking more explicitly
2 parents d5f9a68 + 359a06f commit c7cee40

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pkg/cdi/registry.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,9 @@ func GetRegistry(options ...Option) Registry {
128128
new = true
129129
})
130130
if !new && len(options) > 0 {
131-
reg.Configure(options...)
132-
reg.Refresh()
131+
// We don't care about errors here
132+
_ = reg.Configure(options...)
133+
_ = reg.Refresh()
133134
}
134135
return reg
135136
}

0 commit comments

Comments
 (0)