This repository was archived by the owner on Apr 15, 2024. It is now read-only.

Description
Is this code really like this? when change 'get' to 'put' ,it works...
def deregister(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)
return self.agent.http.put(
CB.bool(), '/v1/agent/service/deregister/%s' % service_id)