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:
parent
08ba076a42
commit
1606173836
@ -54,7 +54,6 @@ public class ConsulDataSourceProperties extends AbstractDataSourceProperties {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void preCheck(String dataSourceName) {
|
public void preCheck(String dataSourceName) {
|
||||||
super.preCheck(dataSourceName);
|
|
||||||
if(StringUtils.isEmpty(host)){
|
if(StringUtils.isEmpty(host)){
|
||||||
throw new IllegalArgumentException(
|
throw new IllegalArgumentException(
|
||||||
"ConsulDataSource server-host is empty");
|
"ConsulDataSource server-host is empty");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user