mirror of
				https://gitea.com/Lydanne/buildx.git
				synced 2025-11-04 01:53:42 +08:00 
			
		
		
		
	clarify the appropriate place to use the debug flag when viewing warnings
Signed-off-by: Talon Bowler <talon.bowler@docker.com>
This commit is contained in:
		@@ -835,7 +835,7 @@ func printWarnings(w io.Writer, warnings []client.VertexWarning, mode progressui
 | 
			
		||||
		fmt.Fprintf(sb, "%d warnings found", len(warnings))
 | 
			
		||||
	}
 | 
			
		||||
	if logrus.GetLevel() < logrus.DebugLevel {
 | 
			
		||||
		fmt.Fprintf(sb, " (use --debug to expand)")
 | 
			
		||||
		fmt.Fprintf(sb, " (use docker --debug to expand)")
 | 
			
		||||
	}
 | 
			
		||||
	fmt.Fprintf(sb, ":\n")
 | 
			
		||||
	fmt.Fprint(w, aec.Apply(sb.String(), aec.YellowF))
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user