Delayed connection to dnsmanager.
parent
301d8f7a7c
commit
eb5879f5de
|
@ -187,9 +187,6 @@ def main
|
||||||
|
|
||||||
parsing_cli authd_config
|
parsing_cli authd_config
|
||||||
|
|
||||||
# dnsmanagerd connection and authentication
|
|
||||||
dnsmanagerd = DNSManager::Client.new
|
|
||||||
|
|
||||||
if simulation
|
if simulation
|
||||||
pp! authd_config
|
pp! authd_config
|
||||||
pp! Context.command
|
pp! Context.command
|
||||||
|
@ -197,6 +194,9 @@ def main
|
||||||
exit 0
|
exit 0
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# dnsmanagerd connection and authentication
|
||||||
|
dnsmanagerd = DNSManager::Client.new
|
||||||
|
|
||||||
if authd_config.login.nil? || authd_config.pass.nil?
|
if authd_config.login.nil? || authd_config.pass.nil?
|
||||||
Baguette::Log.info "no authd login."
|
Baguette::Log.info "no authd login."
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue