xbkaishui commented on a change in pull request #7559:
URL: https://github.com/apache/shardingsphere/pull/7559#discussion_r493187754
##########
File path:
shardingsphere-governance/shardingsphere-governance-core/shardingsphere-governance-core-common/src/main/java/org/apache/shardingsphere/governance/core/yaml/swapper/RuleSchemaMetaDataYamlSwapper.java
##########
@@ -47,22 +47,26 @@ public YamlRuleSchemaMetaData swapToYamlConfiguration(final
RuleSchemaMetaData m
YamlRuleSchemaMetaData result = new YamlRuleSchemaMetaData();
result.setConfiguredSchemaMetaData(convertYamlSchema(metaData.getConfiguredSchemaMetaData()));
Map<String, YamlSchemaMetaData> unconfigured =
metaData.getUnconfiguredSchemaMetaDataMap().entrySet().stream()
- .collect(Collectors.toMap(Entry::getKey, entry ->
convertYamlSchema(entry.getValue())));
Review comment:
Ok, will make YamlRuleSchemaMetaData and RuleSchemaMetaData the same
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]