-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The Param “Check Definition” of consul api "/v1/txn" did not changed ,when I use this api #5477
Comments
Do not tag random people. |
I think this bug is caused by a change in JSON syntax https://github.com/hashicorp/consul/blob/v1.4.3/agent/txn_endpoint.go#L242 The txn endpoint linked above expects to use It looks like the Consul Go API also needs to be updated to support the change in JSON format for the txn endpoint, it only ever sends the versions with out "Duration". https://github.com/hashicorp/consul/blob/v1.4.3/api/health.go#L54 |
[@banks: edited to make JSON formatting more readable]
Before I use consul api "v1/txn",my node health like this:
when I use consul api "v1/txn" with param :
Then , the Node state has changed and the "Interval" and "Timeout" in Check Definition was not changed , the datas what I commit has covered。like this:
![image](https://user-images.githubusercontent.com/21008755/54181003-13f5a080-44d8-11e9-85e1-162bcd19bd34.png)
@evanphx @topfunky @hornbeck @dylanegan
The text was updated successfully, but these errors were encountered: