1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-08-10 21:52:01 +02:00

Remove service id so nodes are also removed from catalog

This commit is contained in:
Asim
2015-08-15 23:03:50 +01:00
parent b91af916f9
commit 113cc8a9cb

View File

@@ -67,7 +67,6 @@ func (c *consulRegistry) Deregister(s *Service) error {
_, err := c.Client.Catalog().Deregister(&consul.CatalogDeregistration{
Node: node.Id,
Address: node.Address,
ServiceID: node.Id,
}, nil)
return err