Skip to content

Commit 359a06f

Browse files
committed
chore: omit error checking more explicitly
Make golangci-lint happy. Signed-off-by: Markus Lehtonen <[email protected]>
1 parent 7021321 commit 359a06f

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)