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
It looks like we didn't JSON-annotate fields correctly, so Args ended up as ScriptArgs in the /v1/agent check and service registration APIs. We also left the Args field out of the API client. We need to add this to the API client and fix up the documentation so it works with what we shipped.
We should rename the field Args so that the config file syntax matches the JSON in the API, but we will need to retain backwards compatibility with ScriptArgs since that has already shipped.
The text was updated successfully, but these errors were encountered:
This captures an issue from from https://groups.google.com/d/msgid/consul-tool/9dca61e6-26b0-4315-a891-2713756f768a%40googlegroups.com?utm_medium=email&utm_source=footer.
It looks like we didn't JSON-annotate fields correctly, so
Args
ended up asScriptArgs
in the /v1/agent check and service registration APIs. We also left theArgs
field out of the API client. We need to add this to the API client and fix up the documentation so it works with what we shipped.We should rename the field
Args
so that the config file syntax matches the JSON in the API, but we will need to retain backwards compatibility withScriptArgs
since that has already shipped.The text was updated successfully, but these errors were encountered: