Skip to content

Commit

Permalink
add cancel
Browse files Browse the repository at this point in the history
Signed-off-by: okJiang <819421878@qq.com>
  • Loading branch information
okJiang authored and ti-chi-bot committed Jan 6, 2025
1 parent 97ecf34 commit ef1cdd4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/pd_service_discovery.go
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,7 @@ func (c *pdServiceDiscovery) Init() error {
}

if err := c.initRetry(c.checkServiceModeChanged); err != nil {
c.cancel()
return err
}

Expand Down

0 comments on commit ef1cdd4

Please sign in to comment.