Skip to content

Commit

Permalink
add cancel
Browse files Browse the repository at this point in the history
Signed-off-by: okJiang <[email protected]>
  • Loading branch information
okJiang authored and ti-chi-bot committed Jan 6, 2025
1 parent 8fc6c9c commit 6e16930
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 @@ -506,6 +506,7 @@ func (c *pdServiceDiscovery) Init() error {
}

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

Expand Down

0 comments on commit 6e16930

Please sign in to comment.