"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "vendor/github.com/moby/buildkit/util/progress/logs/logs.go" between
moby-20.10.6.tar.gz and moby-20.10.7.tar.gz

About: Moby is a framework to assemble specialized container systems (formerly project name Docker; see here to clarify the relationship between the projects).

logs.go  (moby-20.10.6):logs.go  (moby-20.10.7)
skipping to change at line 135 skipping to change at line 135
return oldSize, nil return oldSize, nil
} }
func (sw *streamWriter) Close() error { func (sw *streamWriter) Close() error {
return sw.pw.Close() return sw.pw.Close()
} }
func LoggerFromContext(ctx context.Context) func([]byte) { func LoggerFromContext(ctx context.Context) func([]byte) {
return func(dt []byte) { return func(dt []byte) {
pw, _, _ := progress.FromContext(ctx) pw, _, _ := progress.FromContext(ctx)
defer pw.Close()
pw.Write(identity.NewID(), client.VertexLog{ pw.Write(identity.NewID(), client.VertexLog{
Stream: stderr, Stream: stderr,
Data: []byte(dt), Data: []byte(dt),
}) })
} }
} }
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)