Merge pull request #493 from hqhq/specify_shim_socket
Remove duplicated close
This commit is contained in:
commit
eb2191c744
1 changed files with 0 additions and 1 deletions
|
@ -93,7 +93,6 @@ func serve(server *grpc.Server, path string) error {
|
|||
defer l.Close()
|
||||
if err := server.Serve(l); err != nil &&
|
||||
!strings.Contains(err.Error(), "use of closed network connection") {
|
||||
l.Close()
|
||||
logrus.WithError(err).Fatal("containerd-shim: GRPC server failure")
|
||||
}
|
||||
}()
|
||||
|
|
Loading…
Reference in a new issue