Skip to content

Commit 5a84b06

Browse files
committed
Add missing upgrade operation enum values.
It was reported that some upgrade operation states being returned by the API were causing an error due to them being unknown. So, here we're syncing the related enum to sync with all of the currently supported and valid values.
1 parent d074cb9 commit 5a84b06

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77
## [Unreleased]
8+
- Missing values from cluster upgrade operation state enum
89

910
## [3.6.4] - 2025-04-07
1011
### Added

src/models/operation.cr

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,20 @@ module CB::Model
1919
enum State
2020
Canceling
2121
Creating
22+
Destroying
2223
DisablingHA
2324
EnablingHA
2425
FailingOver
26+
Finalizing
2527
InProgress
2628
Ready
27-
ReplayingWAL
28-
Scheduled
29+
Replaying
30+
Restarting
31+
Restoring
32+
Resuming
33+
Starting
34+
Suspended
35+
Suspending
2936
WaitingForHAStandby
3037

3138
def to_s(io : IO) : Nil

0 commit comments

Comments
 (0)