Merge pull request #10797 from ioito/automated-cherry-pick-of-#10796-upstream-release-3.7

Automated cherry pick of #10796: fix: add region id params
This commit is contained in:
Zexi Li
2021-04-19 21:05:07 +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