Merge pull request #11799 from ioito/hotfix/qx-mongodb-fix

fix(region): add trans and mongodb backup list
This commit is contained in:
Zexi Li
2021-08-04 16:15:22 +08:00
committed by GitHub
3 changed files with 4873 additions and 4583 deletions
+3732 -3652
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -46,8 +46,8 @@ func (self *SRegion) GetMongoDBBackups(id string, start time.Time, end time.Time
pageNum = 1
}
params := map[string]string{
"StartTime": start.String(),
"EndTime": end.String(),
"StartTime": start.Format("2006-01-02T15:04Z"),
"EndTime": end.Format("2006-01-02T15:04Z"),
"DBInstanceId": id,
"PageSize": fmt.Sprintf("%d", pageSize),
"PageNumber": fmt.Sprintf("%d", pageNum),