delete unused LoadBalanceAlgorithm

This commit is contained in:
Elvin Efendi 2018-11-28 13:05:31 +04:00
parent 60569137ca
commit e93763da6a
2 changed files with 0 additions and 15 deletions

View file

@ -151,11 +151,3 @@ func TestMergeConfigMapToStruct(t *testing.T) {
t.Errorf("unexpected diff: (-got +want)\n%s", diff)
}
}
func TestDefaultLoadBalance(t *testing.T) {
conf := map[string]string{}
to := ReadConfig(conf)
if to.LoadBalanceAlgorithm != "" {
t.Errorf("default load balance algorithm wrong")
}
}