Skip to content

Commit

Permalink
Remove the only caller of MiqApache::Conf.instance
Browse files Browse the repository at this point in the history
This method has been "deprecated" for a long time in favor of .new
  • Loading branch information
bdunne committed May 16, 2017
1 parent 1d7cc86 commit 7209d6b
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 7209d6b

Please sign in to comment.