mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-19 09:16:29 +00:00
Out with the old, in with the new Moby
- remove remainder of editions code - add a new check container to run tests without Docker - switch over `make test` to use new command to build tests Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
parent
ed832e185f
commit
49002e7a1d
@ -112,10 +112,10 @@ func (w *Writer) Write(b []byte) (n int, e error) {
|
||||
}
|
||||
|
||||
// Close closes the writer
|
||||
func (initrd *Writer) Close() error {
|
||||
err1 := initrd.cw.Close()
|
||||
err2 := initrd.gw.Close()
|
||||
err3 := initrd.pw.Close()
|
||||
func (w *Writer) Close() error {
|
||||
err1 := w.cw.Close()
|
||||
err2 := w.gw.Close()
|
||||
err3 := w.pw.Close()
|
||||
if err1 != nil {
|
||||
return err1
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user