Merge pull request #11246 from swordqiu/automated-cherry-pick-of-#11245-upstream-release-3.7

Automated cherry pick of #11245: fix: get apigateway auth/regions with error of illegal mix of collations
This commit is contained in:
Zexi Li
2021-05-28 15:43:32 +08:00
committed by GitHub
+1 -1
View File
@@ -141,7 +141,7 @@ func (h *AuthHandlers) GetRegionsResponse(ctx context.Context, w http.ResponseWr
if options.Options.ReturnFullDomainList {
filters := jsonutils.NewDict()
if len(currentDomain) > 0 {
filters.Add(jsonutils.NewString(currentDomain), "id")
filters.Add(jsonutils.NewString(currentDomain), "name")
}
filters.Add(jsonutils.NewInt(1000), "limit")
result, e := modules.Domains.List(s, filters)