Delayed connection to dnsmanager.
This commit is contained in:
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…
Reference in New Issue
Block a user