Delayed connection to dnsmanager.
This commit is contained in:
		
							parent
							
								
									301d8f7a7c
								
							
						
					
					
						commit
						eb5879f5de
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -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…
	
	Add table
		
		Reference in a new issue