mirror of
				https://github.com/juanfont/headscale.git
				synced 2025-10-28 10:51:44 +01:00 
			
		
		
		
	fix: fix linting issue on my computer
This commit is contained in:
		
							parent
							
								
									2c448d4a5c
								
							
						
					
					
						commit
						fec8cda16a
					
				| @ -566,7 +566,7 @@ func GetFileMode(key string) fs.FileMode { | ||||
| 	return fs.FileMode(mode) | ||||
| } | ||||
| 
 | ||||
| func contains(ts []T, t T) bool { | ||||
| func contains[T string](ts []T, t T) bool { | ||||
| 	for _, v := range ts { | ||||
| 		if reflect.DeepEqual(v, t) { | ||||
| 			return true | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user