Skip to content

Commit

Permalink
fixes #6334 - pass virsh_network to virsh DNS provider
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominic Cleal committed Jun 23, 2014
1 parent e386496 commit 6dc8c71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/dns/dns_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def dns_setup(opts)
when "virsh"
require 'dns/providers/virsh'
@server = Proxy::Dns::Virsh.new(opts.merge(
:virsh_network => Proxy::Dns::Plugin.settings.virsh_network
:virsh_network => Proxy::SETTINGS.virsh_network
))
else
log_halt 400, "Unrecognized or missing DNS provider: #{Proxy::Dns::Plugin.settings.dns_provider || "MISSING"}"
Expand Down Expand Up @@ -67,4 +67,4 @@ def dns_setup(opts)
end
end
end
end
end

0 comments on commit 6dc8c71

Please sign in to comment.