mirror of
https://github.com/TECHNOFAB11/zfs-localpv.git
synced 2025-12-11 22:10:11 +01:00
refact(err): fix unhandled errors (#327)
Signed-off-by: aSquare14 <atibhi.a@gmail.com>
This commit is contained in:
parent
73d9580817
commit
0f677b6afd
2 changed files with 27 additions and 7 deletions
|
|
@ -190,6 +190,8 @@ func (s *nonBlockingGRPCServer) serve(endpoint string, ids csi.IdentityServer, c
|
|||
klog.Infof("Listening for connections on address: %#v", listener.Addr())
|
||||
|
||||
// Start serving requests on the grpc server created
|
||||
server.Serve(listener)
|
||||
|
||||
err = server.Serve(listener)
|
||||
if err != nil {
|
||||
klog.Fatal(err.Error())
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue