Merge pull request #1209 from stevvooe/remove-errors

linux, linux/shim: remove error definitions
This commit is contained in:
Derek McGowan
2017-07-18 19:18:23 -07:00
committed by GitHub
12 changed files with 82 additions and 97 deletions

View File

@@ -299,7 +299,7 @@ func (s *Service) Kill(ctx context.Context, r *api.KillRequest) (*google_protobu
}
}
if err := p.Kill(ctx, r.Signal, r.All); err != nil {
return nil, err
return nil, errdefs.ToGRPC(err)
}
return empty, nil
}