Skip to content

Commit 386f3b5

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

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

nexus/types/src/deployment.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1830,14 +1830,15 @@ 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-
MgsUpdates {
1834-
pending: PendingMgsUpdates,
1835-
},
1833+
/// Waiting for MGS to apply some updates to the RoT/SP.
1834+
MgsUpdates { pending: PendingMgsUpdates },
1835+
/// Waiting for a zone to be expunged.
18361836
ZoneExpunge {
18371837
sled_id: SledUuid,
18381838
zone_id: OmicronZoneUuid,
18391839
reason: ZoneExpungeReason,
18401840
},
1841+
/// Waiting for a zone with the updated source to appear in inventory.
18411842
ZoneUpdate {
18421843
sled_id: SledUuid,
18431844
zone_id: OmicronZoneUuid,

0 commit comments

Comments
 (0)