Skip to content

Commit

Permalink
Use ResourceMetaData instead of DataSourceMap for DatabaseRuleBuilder
Browse files Browse the repository at this point in the history
  • Loading branch information
menghaoranss committed Jun 3, 2024
1 parent 5cc6bb1 commit 93a5c82
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public static ShardingSphereDatabase create(final String name, final DatabaseTyp
}

private static ShardingSphereDatabase create(final String name, final DatabaseType protocolType, final Collection<ShardingSphereRule> rules,
final Map<String, ShardingSphereSchema> schemas, final ResourceMetaData resourceMetaData) {
final Map<String, ShardingSphereSchema> schemas, final ResourceMetaData resourceMetaData) {
RuleMetaData ruleMetaData = new RuleMetaData(rules);
return new ShardingSphereDatabase(name, protocolType, resourceMetaData, ruleMetaData, schemas);
}
Expand Down

0 comments on commit 93a5c82

Please sign in to comment.