Skip to content

Commit

Permalink
clarify the appropriate place to use the debug flag when viewing warn…
Browse files Browse the repository at this point in the history
…ings

Signed-off-by: Talon Bowler <[email protected]>
(cherry picked from commit cedbc5d)
  • Loading branch information
daghack authored and crazy-max committed Jul 18, 2024
1 parent 9d8cf0b commit dd3bb69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit dd3bb69

Please sign in to comment.