mirror of
				https://github.com/tailscale/tailscale.git
				synced 2025-10-31 13:05:22 +00:00 
			
		
		
		
	cmd/derpprobe: fix fmt bug
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
		| @@ -234,7 +234,7 @@ func probeUDP(ctx context.Context, dm *tailcfg.DERPMap, n *tailcfg.DERPNode) (la | ||||
| 			d := time.Since(t0) | ||||
| 			if err != nil { | ||||
| 				if ctx.Err() != nil { | ||||
| 					return 0, fmt.Errorf("timeout reading from %v: %v", ip) | ||||
| 					return 0, fmt.Errorf("timeout reading from %v: %v", ip, err) | ||||
| 				} | ||||
| 				if d < time.Second { | ||||
| 					return 0, fmt.Errorf("error reading from %v: %v", ip, err) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Brad Fitzpatrick
					Brad Fitzpatrick