diff options
| author | Jonathan <jonathan@mullvad.net> | 2023-06-28 14:36:24 +0200 |
|---|---|---|
| committer | Jonathan <jonathan@mullvad.net> | 2023-06-29 15:00:10 +0200 |
| commit | 5f61ba4058337e6985cee99661a59a98ebff6dd0 (patch) | |
| tree | ba94b7e0829f2fd57a9974b4590af59e9937e5be /mullvad-daemon/src/settings.rs | |
| parent | b4bf8124fbc30bf891f70f120265f30c490d1244 (diff) | |
| download | mullvadvpn-5f61ba4058337e6985cee99661a59a98ebff6dd0.tar.xz mullvadvpn-5f61ba4058337e6985cee99661a59a98ebff6dd0.zip | |
Add settings migration code, refactor and cleanup
Bump the settings version. Add code for migrating settings to new
version since it is now not backwards compatible.
Refactor LocationConstraint and related types to be more lean.
Cleanup issues and fix formatting.
Refactor LocationConstraint and add migration code
Diffstat (limited to 'mullvad-daemon/src/settings.rs')
| -rw-r--r-- | mullvad-daemon/src/settings.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/mullvad-daemon/src/settings.rs b/mullvad-daemon/src/settings.rs index ee3f355598..794b0381ca 100644 --- a/mullvad-daemon/src/settings.rs +++ b/mullvad-daemon/src/settings.rs @@ -378,9 +378,7 @@ mod test { "location": { "only": { "location": { - "location": { - "country": "gb" - } + "country": "gb" } } }, |
