Remove service id so nodes are also removed from catalog
This commit is contained in:
parent
b91af916f9
commit
113cc8a9cb
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user