diff options
Diffstat (limited to 'conf/store.go')
-rw-r--r-- | conf/store.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/conf/store.go b/conf/store.go index 9c645a6b..2886d027 100644 --- a/conf/store.go +++ b/conf/store.go @@ -84,7 +84,7 @@ func MigrateUnencryptedConfigs() (int, []error) { e++ continue } - _, err = FromWgQuick(string(bytes), "input") + _, err = FromWgQuickWithUnknownEncoding(string(bytes), "input") if err != nil { errs[e] = err e++ @@ -143,7 +143,7 @@ func LoadFromPath(path string) (*Config, error) { return nil, err } } - return FromWgQuick(string(bytes), name) + return FromWgQuickWithUnknownEncoding(string(bytes), name) } func NameFromPath(path string) (string, error) { |