Skip to content

Commit

Permalink
Merge pull request #18206 from jrafanie/fix_ambiguous_through_associa…
Browse files Browse the repository at this point in the history
…tion

5.1: Fixes ambiguous source reflection for through
  • Loading branch information
kbrock authored Nov 19, 2018
2 parents ed3875f + f6c67d3 commit f2b2886
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/load_balancer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class LoadBalancer < ApplicationRecord
has_many :network_ports, :as => :device
has_many :cloud_subnet_network_ports, :through => :network_ports
has_many :cloud_subnets, :through => :cloud_subnet_network_ports
has_many :floating_ips, :through => :network_ports
has_many :floating_ips, :through => :network_ports, :source => :floating_ips
has_many :security_groups, -> { distinct }, :through => :network_ports

has_many :vms, -> { distinct }, :through => :load_balancer_pool_members
Expand Down

0 comments on commit f2b2886

Please sign in to comment.