Remvoe go1.7 from travis

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
Michael Crosby 2017-02-21 16:35:42 -08:00
parent 3101be93bc
commit fceafeb4d6
6 changed files with 14 additions and 40 deletions

View file

@ -31,12 +31,13 @@ func init() {
}
func New(ic *containerd.InitContext) (interface{}, error) {
if err := os.MkdirAll(ic.State, 0700); err != nil {
path := filepath.Join(ic.State, runtimeName)
if err := os.MkdirAll(path, 0700); err != nil {
return nil, err
}
c, cancel := context.WithCancel(ic.Context)
return &Runtime{
root: ic.State,
root: path,
events: make(chan *containerd.Event, 2048),
eventsContext: c,
eventsCancel: cancel,