Merge pull request #17349 from ioito/hotfix/qx-account-filter

fix(region): cloudaccount filter
This commit is contained in:
Zexi Li
2023-06-21 16:38:13 +08:00
committed by GitHub
+1 -1
View File
@@ -1706,7 +1706,7 @@ func (manager *SCloudaccountManager) ListItemFilter(
if len(managerStr) == 0 {
continue
}
providerObj, err := manager.FetchByIdOrName(userCred, managerStr)
providerObj, err := CloudproviderManager.FetchByIdOrName(userCred, managerStr)
if err != nil {
if err == sql.ErrNoRows {
return nil, httperrors.NewResourceNotFoundError2(CloudproviderManager.Keyword(), managerStr)