mirror of
https://github.com/status-im/consul.git
synced 2025-01-09 13:26:07 +00:00
agent: Fix service deregister routing
This commit is contained in:
parent
bc3a72e35d
commit
b40039b5b8
@ -86,7 +86,7 @@ func (s *HTTPServer) registerHandlers(enableDebug bool) {
|
|||||||
s.mux.HandleFunc("/v1/agent/check/fail/", s.wrap(s.AgentCheckFail))
|
s.mux.HandleFunc("/v1/agent/check/fail/", s.wrap(s.AgentCheckFail))
|
||||||
|
|
||||||
s.mux.HandleFunc("/v1/agent/service/register", s.wrap(s.AgentRegisterService))
|
s.mux.HandleFunc("/v1/agent/service/register", s.wrap(s.AgentRegisterService))
|
||||||
s.mux.HandleFunc("/v1/agent/service/deregister", s.wrap(s.AgentDeregisterService))
|
s.mux.HandleFunc("/v1/agent/service/deregister/", s.wrap(s.AgentDeregisterService))
|
||||||
|
|
||||||
s.mux.HandleFunc("/v1/kv/", s.wrap(s.KVSEndpoint))
|
s.mux.HandleFunc("/v1/kv/", s.wrap(s.KVSEndpoint))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user