Skip to content

Commit 034b27d

Browse files
authored
Add changelogs for MongoDB Flex release 0.10.0 (#239)
* Add changelogs for MongoDB Flex release 0.10.0 * Force CI restart * Force CI restart
1 parent 1d7313a commit 034b27d

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

core/wait/wait.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,10 @@ func (h *AsyncActionHandler[T]) WaitWithContext(ctx context.Context) (res *T, er
9292
}
9393

9494
select {
95-
case <-ticker.C:
96-
// continue
9795
case <-ctx.Done():
9896
return res, fmt.Errorf("WaitWithContext() has timed out")
97+
case <-ticker.C:
98+
continue
9999
}
100100
}
101101
}

services/mongodbflex/CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## v0.10.0 (2024-01-05)
2+
3+
- Added method `ListMetrics` (which accepts the desired metric: `cpu`, `database`, `disk-iops`, `disk-use`, or `exec-time`) as an argument and replaces `ListCPUMetrics`, `ListDatabaseStorageMetrics`, `ListDiskIOPSMetrics`, `ListDiskUsageMetrics`, and `ListExecutionTimesMetrics`, respectivelly
4+
- Removes the previously deprecated method `GetStorage`, replaced by `ListStorages`
5+
16
## v0.9.0 (2023-12-22)
27

38
- Added struct `ApiListStoragesRequest`, which will replace `ApiGetStorageRequest`
@@ -47,7 +52,7 @@ API methods, structs and waiters were renamed to have the same look and feel acr
4752
- `InstanceStorage` renamed to `Storage`
4853
- `InstanceStorageRange` renamed to `StorageRange`
4954
- `InstanceUser` renamed to `User`
50-
Added waiters:
55+
- Added waiters:
5156
- `PartialUpdateInstanceWaitHandler`, for `PartialUpdateInstance` method
5257

5358
## v0.7.0 (2023-11-10)

0 commit comments

Comments
 (0)