mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2024-10-26 21:34:57 +03:00
Don't warn if lbStrategy is empty
This commit is contained in:
parent
a43352e160
commit
8a7569555c
@ -178,6 +178,8 @@ func ConfigLoad(proxy *Proxy, svcFlag *string) error {
|
||||
|
||||
lbStrategy := DefaultLBStrategy
|
||||
switch strings.ToLower(config.LBStrategy) {
|
||||
case "":
|
||||
// default
|
||||
case "p2":
|
||||
lbStrategy = LBStrategyP2
|
||||
case "ph":
|
||||
|
Loading…
Reference in New Issue
Block a user