Commit 0a7cf36
committed
fix(mirror): replace catch-all match arm on MirrorStatus with exhaustive variants
The wildcard `_ => DatabaseStatus::Mirroring` in `make_mirror_descriptor`
masked any future `MirrorStatus` variants added without updating this
branch. Replacing it with the four concrete non-Promoted arms restores
exhaustiveness — the compiler will now flag missed cases.1 parent aeb12d7 commit 0a7cf36
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
58 | 61 | | |
59 | 62 | | |
60 | 63 | | |
| |||
0 commit comments