You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2021/08/05 08:31:12 UTC

[GitHub] [shardingsphere] lanchengx commented on a change in pull request #11649: fixed #11643 Custom pool properties are lost when restarted in governance mode

lanchengx commented on a change in pull request #11649:
URL: https://github.com/apache/shardingsphere/pull/11649#discussion_r683243982



##########
File path: shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/yaml/config/swapper/YamlDataSourceConfigurationSwapper.java
##########
@@ -67,6 +71,9 @@ public DataSourceConfiguration swapToDataSourceConfiguration(final Map<String, O
      */
     public Map<String, Object> swapToMap(final DataSourceConfiguration dataSourceConfig) {
         Map<String, Object> result = new HashMap<>(dataSourceConfig.getProps());
+        if (dataSourceConfig.getCustomPoolProps().isEmpty()) {

Review comment:
       Thanks , It was a mistake submitted in ffc7a212a5d3084de3b212fe7a5f011a969cd831




-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org