1
0
mirror of https://gitee.com/mirrors/Spring-Cloud-Alibaba.git synced 2021-06-26 13:25:11 +08:00

Introducing new features. Sentinel Support ConsulDataSource Dynamic Rule Configuration

This commit is contained in:
mengjincn 2020-04-02 19:15:05 +08:00
parent 08ba076a42
commit 1606173836

View File

@ -54,7 +54,6 @@ public class ConsulDataSourceProperties extends AbstractDataSourceProperties {
@Override
public void preCheck(String dataSourceName) {
super.preCheck(dataSourceName);
if(StringUtils.isEmpty(host)){
throw new IllegalArgumentException(
"ConsulDataSource server-host is empty");