mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
Merge pull request #11161 from ioito/automated-cherry-pick-of-#11160-upstream-release-3.7
Automated cherry pick of #11160: fix(region): check sku request error
This commit is contained in:
@@ -357,6 +357,9 @@ func (self *SSkuResourcesMeta) _get(url string) ([]jsonutils.JSONObject, error)
|
||||
}
|
||||
|
||||
jsonContent, err := self.request(url)
|
||||
if err != nil {
|
||||
return nil, errors.Wrapf(err, "request %s", url)
|
||||
}
|
||||
var ret []jsonutils.JSONObject
|
||||
err = jsonContent.Unmarshal(&ret)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user