mirror of
https://github.com/cwinfo/yggdrasil-go.git
synced 2024-11-22 20:00:27 +00:00
Fix substitution
This commit is contained in:
parent
1fd53bcb7d
commit
8456b2e1bc
@ -160,8 +160,8 @@ func main() {
|
|||||||
"AllowedBoxPubs": "AllowedEncryptionPublicKeys",
|
"AllowedBoxPubs": "AllowedEncryptionPublicKeys",
|
||||||
}
|
}
|
||||||
for from, to := range changes {
|
for from, to := range changes {
|
||||||
if val, ok := dat[from]; ok {
|
if _, ok := dat[from]; ok {
|
||||||
if val == "" {
|
if to == "" {
|
||||||
if !*normaliseconf {
|
if !*normaliseconf {
|
||||||
log.Println("Warning: Deprecated config option", from, "- please remove")
|
log.Println("Warning: Deprecated config option", from, "- please remove")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user