Skip to content

Commit

Permalink
backport of commit 64a78cd (#26454)
Browse files Browse the repository at this point in the history
Co-authored-by: Violet Hynes <[email protected]>
  • Loading branch information
1 parent 05b73d7 commit f759556
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions serviceregistration/consul/consul_service_registration.go
Original file line number Diff line number Diff line change
Expand Up @@ -402,9 +402,9 @@ func (c *serviceRegistration) runEventDemuxer(waitGroup *sync.WaitGroup, shutdow
}

c.serviceLock.Lock()
defer c.serviceLock.Unlock()

registeredServiceID = serviceID
c.serviceLock.Unlock()

return
}
}()
Expand Down

0 comments on commit f759556

Please sign in to comment.