vendor: bump runc to f000fe11
This commit is contained in:
5
vendor/github.com/opencontainers/runc/libcontainer/sync.go
generated
vendored
5
vendor/github.com/opencontainers/runc/libcontainer/sync.go
generated
vendored
@@ -41,10 +41,7 @@ type syncT struct {
|
||||
// writeSync is used to write to a synchronisation pipe. An error is returned
|
||||
// if there was a problem writing the payload.
|
||||
func writeSync(pipe io.Writer, sync syncType) error {
|
||||
if err := utils.WriteJSON(pipe, syncT{sync}); err != nil {
|
||||
return err
|
||||
}
|
||||
return nil
|
||||
return utils.WriteJSON(pipe, syncT{sync})
|
||||
}
|
||||
|
||||
// readSync is used to read from a synchronisation pipe. An error is returned
|
||||
|
Reference in New Issue
Block a user