aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/conf/store.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-11-26 13:13:44 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2020-11-27 12:50:53 +0100
commit10678f4ba3fc5165a0215029aa4ceeed3a297dca (patch)
tree9ea8fb434b086b0ab4ce226a667fd8b133163ccb /conf/store.go
parentconf: rework migration flows around a single Save() (diff)
downloadwireguard-windows-10678f4ba3fc5165a0215029aa4ceeed3a297dca.tar.xz
wireguard-windows-10678f4ba3fc5165a0215029aa4ceeed3a297dca.zip
manager: move legacy store from conf
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'conf/store.go')
-rw-r--r--conf/store.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/conf/store.go b/conf/store.go
index 9a0f8c7d..5cc2ce46 100644
--- a/conf/store.go
+++ b/conf/store.go
@@ -132,10 +132,6 @@ func LoadFromName(name string) (*Config, error) {
}
func LoadFromPath(path string) (*Config, error) {
- if !disableAutoMigration {
- tunnelConfigurationsDirectory() // Provoke migrations, if needed.
- }
-
name, err := NameFromPath(path)
if err != nil {
return nil, err