Skip to content

Commit 33347e0

Browse files
committed
Fix migrations/v6.rs docs
1 parent 9f090e3 commit 33347e0

File tree

1 file changed

+3
-6
lines changed
  • mullvad-daemon/src/migrations

1 file changed

+3
-6
lines changed

mullvad-daemon/src/migrations/v6.rs

+3-6
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,15 @@ pub enum QuantumResistantState {
1616

1717
// ======================================================
1818

19-
/// This is an open ended migration. There is no v7 yet!
20-
/// The migrations performed by this function are still backwards compatible.
21-
/// The JSON coming out of this migration can be read by any v6 compatible daemon.
22-
///
23-
/// When further migrations are needed, add them here and if they are not backwards
24-
/// compatible then create v7 and "close" this migration for further modification.
19+
/// This is an closed migration.
2520
///
2621
/// The `use_pq_safe_psk` tunnel option is replaced by `quantum_resistant`, which
2722
/// is optional. `false` is mapped to `None`. `true` is mapped to `Some(true)`.
2823
///
2924
/// Migrate WireGuard over TCP port setting away from Only(443) (to auto),
3025
/// since it's no longer a valid port.
26+
///
27+
/// Migrate location constraints from `GeographicLocationConstraint` to `LocationConstraint`.
3128
pub fn migrate(settings: &mut serde_json::Value) -> Result<()> {
3229
if !version_matches(settings) {
3330
return Ok(());

0 commit comments

Comments
 (0)