Skip to content

Commit 83a75c1

Browse files
Do not stop grpc server on send failure in ListAndWatch
1 parent 5cc9452 commit 83a75c1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pkg/resources/server.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,6 @@ func (rs *resourceServer) ListAndWatch(empty *pluginapi.Empty, stream pluginapi.
178178
glog.Infof("%s: send devices %v\n", methodID, resp)
179179
if err := stream.Send(resp); err != nil {
180180
glog.Errorf("%s: error: cannot update device states: %v\n", methodID, err)
181-
rs.grpcServer.Stop()
182181
return err
183182
}
184183

0 commit comments

Comments
 (0)