summaryrefslogtreecommitdiffstats
path: root/binapi/flowprobe/flowprobe_rpc.ba.go
diff options
context:
space:
mode:
Diffstat (limited to 'binapi/flowprobe/flowprobe_rpc.ba.go')
-rw-r--r--binapi/flowprobe/flowprobe_rpc.ba.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/binapi/flowprobe/flowprobe_rpc.ba.go b/binapi/flowprobe/flowprobe_rpc.ba.go
index 97520fd..3b0178d 100644
--- a/binapi/flowprobe/flowprobe_rpc.ba.go
+++ b/binapi/flowprobe/flowprobe_rpc.ba.go
@@ -8,7 +8,7 @@ import (
api "git.fd.io/govpp.git/api"
)
-// RPCService defines RPC service flowprobe.
+// RPCService defines RPC service flowprobe.
type RPCService interface {
FlowprobeParams(ctx context.Context, in *FlowprobeParams) (*FlowprobeParamsReply, error)
FlowprobeTxInterfaceAddDel(ctx context.Context, in *FlowprobeTxInterfaceAddDel) (*FlowprobeTxInterfaceAddDelReply, error)
@@ -28,7 +28,7 @@ func (c *serviceClient) FlowprobeParams(ctx context.Context, in *FlowprobeParams
if err != nil {
return nil, err
}
- return out, nil
+ return out, api.RetvalToVPPApiError(out.Retval)
}
func (c *serviceClient) FlowprobeTxInterfaceAddDel(ctx context.Context, in *FlowprobeTxInterfaceAddDel) (*FlowprobeTxInterfaceAddDelReply, error) {
@@ -37,5 +37,5 @@ func (c *serviceClient) FlowprobeTxInterfaceAddDel(ctx context.Context, in *Flow
if err != nil {
return nil, err
}
- return out, nil
+ return out, api.RetvalToVPPApiError(out.Retval)
}