Skip to content
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

Services should be deactivated using the HTTP PUT method. #130

Open
MehmetNuri opened this issue Jul 16, 2023 · 0 comments
Open

Services should be deactivated using the HTTP PUT method. #130

MehmetNuri opened this issue Jul 16, 2023 · 0 comments

Comments

@MehmetNuri
Copy link

Consul's new version uses the PUT method instead of the GET method of HTTP to deactivate services. In the Agent class, simply write return

 self._put_no_response_body(['deregister', service_id])
@MehmetNuri MehmetNuri changed the title deregister method is no use http put method Services should be deactivated using the HTTP PUT method. Jul 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant