update mock impl

Signed-off-by: lance6716 <lance6716@gmail.com>
This commit is contained in:
lance6716 2024-01-17 14:39:00 +08:00
parent a5de69ac4d
commit 60d940f97b
1 changed files with 3 additions and 0 deletions

View File

@ -424,3 +424,6 @@ func (c *pdClient) Put(ctx context.Context, key []byte, value []byte, opts ...pd
func (m *pdClient) LoadResourceGroups(ctx context.Context) ([]*rmpb.ResourceGroup, int64, error) {
return nil, 0, nil
}
func (m *pdClient) GetServiceDiscovery() pd.ServiceDiscovery { return nil }