summaryrefslogtreecommitdiffstats
path: root/binapi/mss_clamp/mss_clamp_rpc.ba.go
diff options
context:
space:
mode:
Diffstat (limited to 'binapi/mss_clamp/mss_clamp_rpc.ba.go')
-rw-r--r--binapi/mss_clamp/mss_clamp_rpc.ba.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/binapi/mss_clamp/mss_clamp_rpc.ba.go b/binapi/mss_clamp/mss_clamp_rpc.ba.go
index 7353d86..5ec6a24 100644
--- a/binapi/mss_clamp/mss_clamp_rpc.ba.go
+++ b/binapi/mss_clamp/mss_clamp_rpc.ba.go
@@ -63,6 +63,10 @@ func (c *serviceClient_MssClampGetClient) Recv() (*MssClampDetails, error) {
case *MssClampDetails:
return m, nil
case *MssClampGetReply:
+ 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)