Skip to content

Commit b566bb5

Browse files
committed
Add doc-comments to WaitCondition variants
1 parent efd37e9 commit b566bb5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

nexus/types/src/deployment.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1830,14 +1830,17 @@ pub struct UnstableReconfiguratorState {
18301830
/// An event that the planner is waiting on.
18311831
#[derive(Clone, Debug, Deserialize, Eq, PartialEq, Serialize)]
18321832
pub enum WaitCondition {
1833+
/// Waiting for MGS to apply some updates to the RoT/SP.
18331834
MgsUpdates {
18341835
pending: PendingMgsUpdates,
18351836
},
1837+
/// Waiting for a zone to be expunged.
18361838
ZoneExpunge {
18371839
sled_id: SledUuid,
18381840
zone_id: OmicronZoneUuid,
18391841
reason: ZoneExpungeReason,
18401842
},
1843+
/// Waiting for a zone with the updated source to appear in inventory.
18411844
ZoneUpdate {
18421845
sled_id: SledUuid,
18431846
zone_id: OmicronZoneUuid,

0 commit comments

Comments
 (0)