#498 Fix bug
This commit is contained in:
parent
fc5db210bb
commit
55178a6b2c
@ -1093,6 +1093,11 @@ public class ApiCommands {
|
||||
|
||||
onAddIP4Dom(requestWrapper);
|
||||
|
||||
proxyParams.put("clientIP", NetUtils.localServer());
|
||||
proxyParams.put("notify", "true");
|
||||
proxyParams.put("term", String.valueOf(RaftCore.getPeerSet().local().term));
|
||||
proxyParams.put("timestamp", String.valueOf(timestamp));
|
||||
|
||||
if (domain.getEnableHealthCheck() && !domain.getEnableClientBeat()) {
|
||||
syncOnAddIP4Dom(namespaceId, dom, proxyParams);
|
||||
} else {
|
||||
@ -1388,6 +1393,11 @@ public class ApiCommands {
|
||||
|
||||
onRemvIP4Dom(requestWrapper);
|
||||
|
||||
proxyParams.put("clientIP", NetUtils.localServer());
|
||||
proxyParams.put("notify", "true");
|
||||
proxyParams.put("term", String.valueOf(RaftCore.getPeerSet().local().term));
|
||||
proxyParams.put("timestamp", String.valueOf(timestamp));
|
||||
|
||||
if (domain.getEnableHealthCheck() && !domain.getEnableClientBeat()) {
|
||||
syncOnRemvIP4Dom(namespaceId, dom, proxyParams);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user