lib/yao/resources/loadbalancer.rb in yao-0.11.1 vs lib/yao/resources/loadbalancer.rb in yao-0.11.2
- old
+ new
@@ -2,10 +2,10 @@
class LoadBalancer < Base
friendly_attributes :provider, :description, :admin_state_up, :provisioning_status,
:vip_address, :operating_status, :name
map_attribute_to_resources listeners: LoadBalancerListener
- map_attribute_to_resources pools: LoadBalancerListener
+ map_attribute_to_resources pools: LoadBalancerPool
def project
if project_id = self["project_id"]
Yao::Tenant.find project_id
end