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
I have a service, DemoService1, that uses a script health check (see service definition below). I expect this information to be presented to me from the API under the Definition field when querying the service.
This is not the case. Via the HTTP or Go api, the definition is undefined even when there is a script present.
Register this service into Consul (I used 1.7.1), and run curl http://127.0.0.1:8500/v1/health/service/DemoService1 | jq against the API. I get the following response:
I expect to get back the args and interval as defined in the service definition, but the object is empty. /v1/agent/checks provides an empty Definition as well.
The text was updated successfully, but these errors were encountered:
Under Consul v1.3.0, I can poll /v1/agent/self and get this information, but this seems to be no longer present in v1.7.4. Consul v1.3.0 also has the same issue as mentioned above.
Overview of the Issue
I have a service, DemoService1, that uses a script health check (see service definition below). I expect this information to be presented to me from the API under the Definition field when querying the service.
This is not the case. Via the HTTP or Go api, the definition is undefined even when there is a script present.
Reproduction Steps
Register this service into Consul (I used 1.7.1), and run
curl http://127.0.0.1:8500/v1/health/service/DemoService1 | jq
against the API. I get the following response:I expect to get back the args and interval as defined in the service definition, but the object is empty.
/v1/agent/checks
provides an empty Definition as well.The text was updated successfully, but these errors were encountered: