summaryrefslogtreecommitdiffstats
path: root/binapi/pot/pot_rpc.ba.go
diff options
context:
space:
mode:
Diffstat (limited to 'binapi/pot/pot_rpc.ba.go')
-rw-r--r--binapi/pot/pot_rpc.ba.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/binapi/pot/pot_rpc.ba.go b/binapi/pot/pot_rpc.ba.go
index ea975fd..a468870 100644
--- a/binapi/pot/pot_rpc.ba.go
+++ b/binapi/pot/pot_rpc.ba.go
@@ -87,6 +87,10 @@ func (c *serviceClient_PotProfileShowConfigDumpClient) Recv() (*PotProfileShowCo
case *PotProfileShowConfigDetails:
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)