add aclToken for agentCheckPass

This commit is contained in:
liolay
2022-02-18 08:39:41 +08:00
committed by spencergibb
parent 3447b576ff
commit 226e08a8eb

View File

@@ -110,7 +110,7 @@ public class TtlScheduler {
@Override
public void run() {
try {
this.ttlScheduler.client.agentCheckPass(this.checkId);
this.ttlScheduler.client.agentCheckPass(this.checkId, null, this.ttlScheduler.discoveryProperties.getAclToken());
if (log.isDebugEnabled()) {
log.debug("Sending consul heartbeat for: " + this.checkId);
}