Skip to content

Commit

Permalink
address the comment
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Leung <rleungx@gmail.com>
  • Loading branch information
rleungx committed Jan 6, 2020
1 parent dc9bb8c commit 04d68d4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,11 @@ func NewClientWithContext(ctx context.Context, pdAddrs []string, security Securi
return c, nil
}

// GetConfigClient returns a config client through client.
func (c *client) GetConfigClient() ConfigClient {
return &configClient{c.baseClient}
}

type deadline struct {
timer <-chan time.Time
done chan struct{}
Expand Down

0 comments on commit 04d68d4

Please sign in to comment.