Calling the .pass() method results in the Qbit Consul Client using Get rather than Put http method. See https://www.consul.io/api/agent/check.html section regarding TTL checks. File affected: AgentEndpoint.java
Test case:
for (ServiceHealth health : consul.health().getAllNodes(service).getResponse()) {
if (health.getService().getId().equals(serviceId)) {
found = true;
consul.agent().pass(serviceId);
}
}
Thank you