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
|
@ -46,13 +46,13 @@ var register = struct {
|
|||
r: make(map[string]*Registration),
|
||||
}
|
||||
|
||||
// Load loads all plugins at the provided that into containerd
|
||||
// Load loads all plugins at the provided path into containerd
|
||||
func Load(path string) (err error) {
|
||||
defer func() {
|
||||
if v := recover(); v != nil {
|
||||
rerr, ok := v.(error)
|
||||
if !ok {
|
||||
panic(v)
|
||||
rerr = fmt.Errorf("%s", v)
|
||||
}
|
||||
err = rerr
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue