Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Commit

Permalink
test without service id
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahalsmiller authored and mikemorris committed Apr 5, 2023
1 parent e6ba091 commit 9802d6a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/consul/registration.go
Original file line number Diff line number Diff line change
Expand Up @@ -273,9 +273,9 @@ func (s *ServiceRegistry) Deregister(ctx context.Context) error {
func (s *ServiceRegistry) deregister(ctx context.Context) error {
writeOptions := &api.WriteOptions{}
_, err := s.client.Catalog().Deregister(&api.CatalogDeregistration{
Node: s.id,
Address: s.address,
ServiceID: s.id,
Node: s.id,
Address: s.address,
//ServiceID: s.id,
Namespace: s.namespace,
Partition: s.partition,
}, writeOptions.WithContext(ctx))
Expand Down

0 comments on commit 9802d6a

Please sign in to comment.