Skip to content

Commit

Permalink
Fix conditional for CDI manager
Browse files Browse the repository at this point in the history
Signed-off-by: Evan Lezar <[email protected]>
  • Loading branch information
elezar committed Feb 19, 2024
1 parent 5cf19ba commit ba6a338
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/plugin/manager/factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func New(opts ...Option) (Interface, error) {
return &null{}, nil
}

if m.cdiHandler != nil {
if m.cdiHandler == nil {
m.cdiHandler = cdi.NewNullHandler()
}

Expand Down

0 comments on commit ba6a338

Please sign in to comment.