Skip to content

Commit 05c79e7

Browse files
committed
Update cluster state enum with new values.
Updates the cluster `state` enum with recently exposed state values. This is currently an exhaustive list of possible cluster states.
1 parent 9580e54 commit 05c79e7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/models/cluster_status.cr

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,16 @@ module CB::Model
77
enum State
88
Creating
99
Destroying
10-
Unknown
10+
Finalizing
1111
Ready
12+
Replaying
1213
Restarting
14+
Restoring
1315
Resuming
16+
Starting
1417
Suspended
1518
Suspending
19+
Unknown
1620

1721
def to_s(io : IO)
1822
io << self.to_s.downcase

0 commit comments

Comments
 (0)