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