Remvoe go1.7 from travis
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
parent
3101be93bc
commit
fceafeb4d6
6 changed files with 14 additions and 40 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue