diff --git a/pkg/cloudcommon/db/tenantcache.go b/pkg/cloudcommon/db/tenantcache.go index 9cb45d8072..a047c4da99 100644 --- a/pkg/cloudcommon/db/tenantcache.go +++ b/pkg/cloudcommon/db/tenantcache.go @@ -581,7 +581,7 @@ func (manager *STenantCacheManager) ConvertIds(ids []string, isDomain bool) ([]s q = manager.GetTenantQuery("id") } q = q.Filter(sqlchemy.OR( - sqlchemy.In(q.Field("id"), ids), + sqlchemy.In(q.Field("id"), stringutils2.RemoveUtf8Strings(ids)), sqlchemy.In(q.Field("name"), ids), )) q = q.Distinct()