Skip to content

Commit

Permalink
Merge pull request #532 from elezar/fix-null-cdi-conditional
Browse files Browse the repository at this point in the history
Fix conditional for CDI manager
  • Loading branch information
elezar authored Feb 19, 2024
2 parents 5cf19ba + ba6a338 commit c469c54
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 c469c54

Please sign in to comment.