Update go-runc to afca56d262e694d9056e937a0877a39ab879aeb4

This includes fixes for --console-socket in runc as well as additional
APIs for runc commands.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
Michael Crosby 2017-01-20 13:42:14 -08:00
parent 7101c7a9e2
commit b895c98358
3 changed files with 67 additions and 29 deletions

View file

@ -1,9 +1,14 @@
package runc
type Event struct {
// Type are the event type generated by runc
// If the type is "error" then check the Err field on the event for
// the actual error
Type string `json:"type"`
ID string `json:"id"`
Stats *Stats `json:"data,omitempty"`
// Err has a read error if we were unable to decode the event from runc
Err error `json:"-"`
}
type Stats struct {