Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
srahul3 committed Sep 6, 2024
1 parent dcf3344 commit 70f90a6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ func (a *Agent) Run() error {
wg.Wait()

// Clean up.
if err := a.client.Agent().ServiceDeregister(a.serviceID()); err != nil {
if err := a.client.Agent().ServiceDeregisterOpts(a.serviceID(), &api.QueryOptions{Partition: a.config.Partition}); err != nil {
a.logger.Warn("Failed to deregister service", "error", err)
}

Expand Down
6 changes: 0 additions & 6 deletions config.hcl

This file was deleted.

0 comments on commit 70f90a6

Please sign in to comment.