Skip to content

Commit

Permalink
Fixed wrong cache usage
Browse files Browse the repository at this point in the history
  • Loading branch information
urbim committed Mar 15, 2019
1 parent bf8ddb7 commit 4cac208
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public Producer getProducer(InjectionPoint injectionPoint) {
producers.put(config, producer);
}

return producersWithConfigOverrides.get(injectionPoint.getAnnotated());
return producers.get(config);
} else {
// cache by injection point if overrides present
if (!producersWithConfigOverrides.containsKey(injectionPoint.getAnnotated())) {
Expand Down

0 comments on commit 4cac208

Please sign in to comment.