mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-01 15:07:17 +08:00
Merge pull request #17349 from ioito/hotfix/qx-account-filter
fix(region): cloudaccount filter
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user