mirror of
				https://github.com/juanfont/headscale.git
				synced 2025-10-31 08:01:34 +01:00 
			
		
		
		
	Remove duplicate function
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
		
							parent
							
								
									456479eaa1
								
							
						
					
					
						commit
						09ed21edd8
					
				| @ -176,19 +176,6 @@ func (t *TailscaleInContainer) Version() string { | ||||
| 	return t.version | ||||
| } | ||||
| 
 | ||||
| func (t *TailscaleInContainer) WaitForReady() error { | ||||
| 	return t.pool.Retry(func() error { | ||||
| 		// If tailscaled has not started yet, this will return a non-zero | ||||
| 		// status code | ||||
| 		_, err := t.Execute([]string{"tailscale", "status"}) | ||||
| 		if err != nil { | ||||
| 			return err | ||||
| 		} | ||||
| 
 | ||||
| 		return nil | ||||
| 	}) | ||||
| } | ||||
| 
 | ||||
| func (t *TailscaleInContainer) Execute( | ||||
| 	command []string, | ||||
| ) (string, string, error) { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user