mirror of
				https://github.com/tailscale/tailscale.git
				synced 2025-10-31 03:18:40 +00:00 
			
		
		
		
	ipn/ipnserver: staticcheck is not wrong
shamecube.gif
This commit is contained in:
		| @@ -188,7 +188,6 @@ func Run(ctx context.Context, logf logger.Logf, logid string, getEngine func() ( | ||||
| 				continue | ||||
| 			} | ||||
| 			logf("%d: trying getEngine again...", i) | ||||
| 			//lint:ignore SA4006 staticcheck is wrong | ||||
| 			eng, err = getEngine() | ||||
| 			if err == nil { | ||||
| 				logf("%d: GetEngine worked; exiting failure loop", i) | ||||
| @@ -204,7 +203,9 @@ func Run(ctx context.Context, logf logger.Logf, logid string, getEngine func() ( | ||||
| 				s.Read(make([]byte, 1)) | ||||
| 			}() | ||||
| 		} | ||||
| 		return ctx.Err() | ||||
| 		if err := ctx.Err(); err != nil { | ||||
| 			return err | ||||
| 		} | ||||
| 	} | ||||
|  | ||||
| 	var store ipn.StateStore | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Brad Fitzpatrick
					Brad Fitzpatrick