Skip to content

Commit f08ed98

Browse files
committed
fix(mysql): 权限服务来源bug #8876
1 parent a7d3e8f commit f08ed98

File tree

1 file changed

+1
-1
lines changed
  • dbm-services/mysql/db-priv/service/v2/add_priv

1 file changed

+1
-1
lines changed

dbm-services/mysql/db-priv/service/v2/add_priv/prepare.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ func (c *PrivTaskPara) prepareTenDBHA(targetMetaInfos []*service.Instance) (
6666
)
6767
if ele.BindTo == internal.MachineTypeProxy {
6868
if ele.PaddingProxy {
69-
clientIps = append(clientIps, proxyIps...)
69+
clientIps = append(c.SourceIPs, proxyIps...)
7070
} else {
7171
clientIps = proxyIps
7272
}

0 commit comments

Comments
 (0)