Code Review
/
govpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Refactoring and fixes
[govpp.git]
/
binapi
/
span
/
span_rpc.ba.go
diff --git
a/binapi/span/span_rpc.ba.go
b/binapi/span/span_rpc.ba.go
index
1452be8
..
6cbfb67
100644
(file)
--- a/
binapi/span/span_rpc.ba.go
+++ b/
binapi/span/span_rpc.ba.go
@@
-58,6
+58,10
@@
func (c *serviceClient_SwInterfaceSpanDumpClient) Recv() (*SwInterfaceSpanDetail
case *SwInterfaceSpanDetails:
return m, nil
case *vpe.ControlPingReply:
+ 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)