mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-05-18 00:47:48 +08:00
clarify the appropriate place to use the debug flag when viewing warnings
Signed-off-by: Talon Bowler <talon.bowler@docker.com> (cherry picked from commit cedbc5d68d0a05ca5462c44ff035da1e94c1149d)
This commit is contained in:
parent
9d8cf0bed3
commit
dd3bb69a1e
@ -835,7 +835,7 @@ func printWarnings(w io.Writer, warnings []client.VertexWarning, mode progressui
|
|||||||
fmt.Fprintf(sb, "%d warnings found", len(warnings))
|
fmt.Fprintf(sb, "%d warnings found", len(warnings))
|
||||||
}
|
}
|
||||||
if logrus.GetLevel() < logrus.DebugLevel {
|
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.Fprintf(sb, ":\n")
|
||||||
fmt.Fprint(w, aec.Apply(sb.String(), aec.YellowF))
|
fmt.Fprint(w, aec.Apply(sb.String(), aec.YellowF))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user