Delayed connection to dnsmanager.

master
Philippe Pittoli 9 months ago
parent 301d8f7a7c
commit eb5879f5de

@ -187,9 +187,6 @@ def main
parsing_cli authd_config
# dnsmanagerd connection and authentication
dnsmanagerd = DNSManager::Client.new
if simulation
pp! authd_config
pp! Context.command
@ -197,6 +194,9 @@ def main
exit 0
end
# dnsmanagerd connection and authentication
dnsmanagerd = DNSManager::Client.new
if authd_config.login.nil? || authd_config.pass.nil?
Baguette::Log.info "no authd login."
else

Loading…
Cancel
Save