mirror of
				https://github.com/juanfont/headscale.git
				synced 2025-10-28 10:51:44 +01:00 
			
		
		
		
	Remove trace lines about NO_COLOR.
This commit is contained in:
		
							parent
							
								
									e27753e46e
								
							
						
					
					
						commit
						203e6bc6b2
					
				| @ -22,14 +22,12 @@ func main() { | ||||
| 		colors = true | ||||
| 	default: | ||||
| 		// no color, return text as is.
 | ||||
| 		log.Trace().Msg("Colors are not supported, disabling") | ||||
| 		colors = false | ||||
| 	} | ||||
| 
 | ||||
| 	// Adhere to no-color.org manifesto of allowing users to
 | ||||
| 	// turn off color in cli/services
 | ||||
| 	if _, noColorIsSet := os.LookupEnv("NO_COLOR"); noColorIsSet { | ||||
| 		log.Trace().Msg("NO_COLOR is set, disabling colors") | ||||
| 		colors = false | ||||
| 	} | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user