diff options
Diffstat (limited to 'binapi/graph/graph_rpc.ba.go')
-rw-r--r-- | binapi/graph/graph_rpc.ba.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/binapi/graph/graph_rpc.ba.go b/binapi/graph/graph_rpc.ba.go index d799e4f..32f049b 100644 --- a/binapi/graph/graph_rpc.ba.go +++ b/binapi/graph/graph_rpc.ba.go @@ -53,6 +53,10 @@ func (c *serviceClient_GraphNodeGetClient) Recv() (*GraphNodeDetails, error) { case *GraphNodeDetails: return m, nil case *GraphNodeGetReply: + err = c.Stream.Close() + if err != nil { + return nil, err + } return nil, io.EOF default: return nil, fmt.Errorf("unexpected message: %T %v", m, m) |