You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
annahosanna
changed the title
Consul Client issue setting health
Consul Client function Check TTL using GET instead of PUT
Mar 29, 2018
annahosanna
changed the title
Consul Client function Check TTL using GET instead of PUT
Consul Client function checkTtl using GET instead of PUT
Mar 29, 2018
annahosanna
changed the title
Consul Client function checkTtl using GET instead of PUT
Consul Client agent method checkTtl using GET instead of PUT
Mar 29, 2018
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
The text was updated successfully, but these errors were encountered: