Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix druid filter init bug #541

Merged
merged 1 commit into from
Aug 7, 2023

Conversation

hieastz
Copy link
Contributor

@hieastz hieastz commented Aug 5, 2023

filter->filters

What kind of change does this PR introduce? (check at least one)

  • Bugfix
  • Feature
  • Code style
  • Refactor
  • Doc
  • Other, please describe:

The description of the PR:
druid的拦截器名称配置属性是filters而不是filter,反射的时候是获取不到值的。

Other information:
https://github.com/baomidou/dynamic-datasource/blob/master/dynamic-datasource-creator/src/main/java/com/baomidou/dynamic/datasource/creator/druid/DruidConfig.java

@Getter
@Setter
public class DruidConfig {

    private String filters;

}

filter->filters
@huayanYu huayanYu merged commit dc203c2 into baomidou:master Aug 7, 2023
@hieastz hieastz deleted the hieastz-fix-druid-filter-init branch August 11, 2023 03:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants