Automatic merge from release/2.7.0 -> release/2.8.0

* commit '63ff2eff9b2e547e4781119a0affe2534335924a':
  腾讯云续费实例没有ClientToken参数
This commit is contained in:
邱剑
2019-03-14 18:28:42 +08:00
-1
View File
@@ -813,7 +813,6 @@ func (region *SRegion) RenewInstances(instanceId []string, bc billing.SBillingCy
params["InstanceChargePrepaid.Period"] = fmt.Sprintf("%d", bc.GetMonths())
params["InstanceChargePrepaid.RenewFlag"] = "NOTIFY_AND_MANUAL_RENEW"
params["RenewPortableDataDisk"] = "TRUE"
params["ClientToken"] = utils.GenRequestId(20)
_, err := region.cvmRequest("RenewInstances", params)
if err != nil {
log.Errorf("RenewInstance fail %s", err)