Merge pull request #10796 from ioito/hotfix/qx-aliyun-tag-region

fix: add region id params
This commit is contained in:
Zexi Li
2021-04-19 21:05:00 +08:00
committed by GitHub
+1
View File
@@ -120,6 +120,7 @@ func (self *SRegion) TagResource(serviceType string, resourceType string, resour
return errors.Wrap(cloudprovider.ErrNotSupported, "tags count exceed 20 for one request")
}
params := make(map[string]string)
params["RegionId"] = self.RegionId
params["ResourceType"] = resourceType
params["ResourceId.1"] = resourceId
i := 0