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
{{ message }}
This repository was archived by the owner on Apr 15, 2024. It is now read-only.
Is this code really like this? when change 'get' to 'put' ,it works...
defderegister(self, service_id):
""" Used to remove a service from the local agent. The agent will take care of deregistering the service with the Catalog. If there is an associated check, that is also deregistered. """# return self.agent.http.get(# CB.bool(), '/v1/agent/service/deregister/%s' % service_id)returnself.agent.http.put(
CB.bool(), '/v1/agent/service/deregister/%s'%service_id)