diff --git a/app/models/mixins/miq_web_server_worker_mixin.rb b/app/models/mixins/miq_web_server_worker_mixin.rb index 15eb1e83cf3..368c662266a 100644 --- a/app/models/mixins/miq_web_server_worker_mixin.rb +++ b/app/models/mixins/miq_web_server_worker_mixin.rb @@ -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