Don't warn if lbStrategy is empty

This commit is contained in:
Frank Denis 2018-02-05 01:53:23 +01:00
parent a43352e160
commit 8a7569555c
1 changed files with 2 additions and 0 deletions

View File

@ -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":