mirror of
				https://github.com/go-micro/go-micro.git
				synced 2025-10-30 23:27:41 +02:00 
			
		
		
		
	be pedantic
This commit is contained in:
		| @@ -10,7 +10,10 @@ func wait(ctx context.Context) bool { | ||||
| 	if ctx == nil { | ||||
| 		return false | ||||
| 	} | ||||
| 	wait, _ := ctx.Value("wait").(bool) | ||||
| 	wait, ok := ctx.Value("wait").(bool) | ||||
| 	if !ok { | ||||
| 		return false | ||||
| 	} | ||||
| 	return wait | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user