mirror of https://github.com/tikv/client-go.git
internal: treat default resource group normally (#708)
Signed-off-by: BornChanger <dawn_catcher@126.com>
This commit is contained in:
parent
ad4d1554b3
commit
d19741b3ed
|
|
@ -91,7 +91,7 @@ func buildResourceControlInterceptor(
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
resourceGroupName := req.GetResourceGroupName()
|
resourceGroupName := req.GetResourceGroupName()
|
||||||
// When the group name is empty we don't need to perform the resource control.
|
// When the group name is empty, we don't need to perform the resource control.
|
||||||
if len(resourceGroupName) == 0 {
|
if len(resourceGroupName) == 0 {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue