Skip to content

Commit

Permalink
Merge pull request #15110 from bdunne/remove_only_caller_of_instance
Browse files Browse the repository at this point in the history
Remove the only caller of MiqApache::Conf.instance
  • Loading branch information
carbonin authored May 16, 2017
2 parents b8b922b + 7209d6b commit fb930de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/mixins/miq_web_server_worker_mixin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def port_range
end

def add_apache_balancer_members
conf = MiqApache::Conf.instance(self::BALANCE_MEMBER_CONFIG_FILE)
conf = MiqApache::Conf.new(self::BALANCE_MEMBER_CONFIG_FILE)
conf.add_ports(port_range.to_a, self::PROTOCOL)
conf.save
end
Expand Down

0 comments on commit fb930de

Please sign in to comment.