Fix an issue where warnings aren't displayed correctly (#136)
This is a byte array that needs to be string'd.
This commit is contained in:
@@ -5,6 +5,7 @@
|
|||||||
- Upgraded buildkit from 0.13.0 to 0.14.1.
|
- Upgraded buildkit from 0.13.0 to 0.14.1.
|
||||||
- Upgraded buildx from 0.13.1. to 0.15.1.
|
- Upgraded buildx from 0.13.1. to 0.15.1.
|
||||||
- Upgraded docker from 26.0.0-rc1 to 27.0.1.
|
- Upgraded docker from 26.0.0-rc1 to 27.0.1.
|
||||||
|
- Fixed an issue where warnings were not displayed correctly.
|
||||||
|
|
||||||
## 0.0.3 (2024-05-31)
|
## 0.0.3 (2024-05-31)
|
||||||
|
|
||||||
|
|||||||
@@ -128,7 +128,7 @@ func (c *cli) Build(
|
|||||||
_ = printer.Wait()
|
_ = printer.Wait()
|
||||||
for _, w := range printer.Warnings() {
|
for _, w := range printer.Warnings() {
|
||||||
b := &bytes.Buffer{}
|
b := &bytes.Buffer{}
|
||||||
fmt.Fprint(b, w.Short)
|
fmt.Fprint(b, fmt.Sprint(w.Short))
|
||||||
for _, d := range w.Detail {
|
for _, d := range w.Detail {
|
||||||
fmt.Fprintf(b, "\n%s", d)
|
fmt.Fprintf(b, "\n%s", d)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user