Skip to content

Commit c76a219

Browse files
committed
Add start--> to DsState diagram
1 parent 34b546a commit c76a219

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

openapi/crucible-control.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@
287287
]
288288
},
289289
"DsState": {
290-
"description": "High-level states for a Downstairs\n\nThe state machine for a Downstairs is relatively simple:\n\n```text ┌────────────┐ ┌────► LiveRepair ├─────┐ ┌─────────┴┐ └─────┬──────┘ ┌─▼──────┐ │Connecting│ │ │Stopping│ └─▲───────┬┘ ┌─────▼──────┐ └─▲────┬─┘ │ └────► Active ├─────┘ │ │ └─────┬──────┘ │ │ │ │ └─────────────────◄┴─────────────────┘ ```\n\nComplexity is hidden in the `Connecting` state, which wraps a [`NegotiationState`] implementing the negotiation state machine.",
290+
"description": "High-level states for a Downstairs\n\nThe state machine for a Downstairs is relatively simple:\n\n```text ┌────────────┐ ┌────► LiveRepair ├─────┐ start ┌─────────┴┐ └─────┬──────┘ ┌─▼──────┐ ────►│Connecting│ │ │Stopping│ └─▲───────┬┘ ┌─────▼──────┐ └─▲────┬─┘ │ └────► Active ├─────┘ │ │ └─────┬──────┘ │ │ │ │ └─────────────────◄┴─────────────────┘ ```\n\nComplexity is hidden in the `Connecting` state, which wraps a [`NegotiationState`] implementing the negotiation state machine.",
291291
"oneOf": [
292292
{
293293
"description": "New connection",

upstairs/src/lib.rs

+9-9
Original file line numberDiff line numberDiff line change
@@ -719,15 +719,15 @@ pub(crate) struct RawReadResponse {
719719
/// The state machine for a Downstairs is relatively simple:
720720
///
721721
/// ```text
722-
/// ┌────────────┐
723-
/// ┌────► LiveRepair ├─────┐
724-
/// ┌─────────┴┐ └─────┬──────┘ ┌─▼──────┐
725-
/// │Connecting│ │ │Stopping│
726-
/// └─▲───────┬┘ ┌─────▼──────┐ └─▲────┬─┘
727-
/// │ └────► Active ├─────┘ │
728-
/// │ └─────┬──────┘ │
729-
/// │ │ │
730-
/// └─────────────────◄┴─────────────────┘
722+
/// ┌────────────┐
723+
/// ┌────► LiveRepair ├─────┐
724+
/// start ┌─────────┴┐ └─────┬──────┘ ┌─▼──────┐
725+
/// ────►│Connecting│ │ │Stopping│
726+
/// └─▲───────┬┘ ┌─────▼──────┐ └─▲────┬─┘
727+
/// │ └────► Active ├─────┘ │
728+
/// │ └─────┬──────┘ │
729+
/// │ │ │
730+
/// └─────────────────◄┴─────────────────┘
731731
/// ```
732732
///
733733
/// Complexity is hidden in the `Connecting` state, which wraps a

0 commit comments

Comments
 (0)