Merge pull request #1622 from ChixianGen/spring-cloud-alibaba-cxg

'修复字段masterId判断bug'
pull/1630/head
余黄彬 5 years ago committed by GitHub
commit 0cf1370e3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -93,7 +93,7 @@ public class RedisDataSourceProperties extends AbstractDataSourceProperties {
"RedisDataSource channel can not be empty");
}
if (!StringUtils.isEmpty(masterId) && StringUtils.isEmpty(masterId)) {
if (StringUtils.isEmpty(masterId)) {
throw new IllegalArgumentException(
"RedisDataSource sentinel modelmasterId can not be empty");
}

Loading…
Cancel
Save