mirror of
				https://github.com/coredns/coredns.git
				synced 2025-11-03 18:53:13 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			10 lines
		
	
	
		
			238 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			238 B
		
	
	
	
		
			Go
		
	
	
	
	
	
package nomad
 | 
						|
 | 
						|
// Ready signals when the plugin is ready for use.
 | 
						|
// In case of Nomad, when the ping to the Nomad API is successful
 | 
						|
// the plugin is ready.
 | 
						|
func (n Nomad) Ready() bool {
 | 
						|
	client, _ := n.getClient()
 | 
						|
	return client != nil
 | 
						|
}
 |