Fixed initialization error for lb policy

This commit is contained in:
tengqm 2015-03-03 14:03:27 +08:00
parent b8ac17d7d4
commit 46776af69b

View File

@ -163,7 +163,7 @@ class LoadBalancingPolicy(base.Policy):
}
def __init__(self, type_name, name, **kwargs):
super(LoadBalancingPolicy, self).__init__(type_name, name, kwargs)
super(LoadBalancingPolicy, self).__init__(type_name, name, **kwargs)
self.pool_spec = kwargs.get('pool', None)
self.vip_spec = kwargs.get('vip', None)