mirror of https://github.com/docker/cli.git
build: skip moby.buildkit.trace Aux message to be future proof
Signed-off-by: Tibor Vass <tibor@docker.com>
This commit is contained in:
parent
5919e8a30f
commit
aef42093b8
|
@ -261,6 +261,10 @@ func newTracer() *tracer {
|
||||||
func (t *tracer) write(msg jsonmessage.JSONMessage) {
|
func (t *tracer) write(msg jsonmessage.JSONMessage) {
|
||||||
var resp controlapi.StatusResponse
|
var resp controlapi.StatusResponse
|
||||||
|
|
||||||
|
if msg.ID != "moby.buildkit.trace" {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
var dt []byte
|
var dt []byte
|
||||||
if err := json.Unmarshal(*msg.Aux, &dt); err != nil {
|
if err := json.Unmarshal(*msg.Aux, &dt); err != nil {
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue