Merge pull request #11976 from ioito/automated-cherry-pick-of-#11975-upstream-release-3.7

Automated cherry pick of #11975: fix(region): resource count for cachedimages
This commit is contained in:
Zexi Li
2021-08-23 19:59:19 +08:00
committed by GitHub
+4
View File
@@ -93,6 +93,10 @@ type SCachedimage struct {
ImageType string `width:"16" default:"customized" list:"user" index:"true"`
}
func (manager *SCachedimageManager) GetResourceCount() ([]db.SScopeResourceCount, error) {
return []db.SScopeResourceCount{}, nil
}
func (self SCachedimage) GetGlobalId() string {
return self.ExternalId
}