diff options
Diffstat (limited to 'internal/testbinapi/binapi2001/mdata/mdata_rpc.ba.go')
-rw-r--r-- | internal/testbinapi/binapi2001/mdata/mdata_rpc.ba.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/internal/testbinapi/binapi2001/mdata/mdata_rpc.ba.go b/internal/testbinapi/binapi2001/mdata/mdata_rpc.ba.go index 08e05d5..8ae8748 100644 --- a/internal/testbinapi/binapi2001/mdata/mdata_rpc.ba.go +++ b/internal/testbinapi/binapi2001/mdata/mdata_rpc.ba.go @@ -4,10 +4,11 @@ package mdata import ( "context" + api "git.fd.io/govpp.git/api" ) -// RPCService defines RPC service mdata. +// RPCService defines RPC service mdata. type RPCService interface { MdataEnableDisable(ctx context.Context, in *MdataEnableDisable) (*MdataEnableDisableReply, error) } @@ -26,5 +27,5 @@ func (c *serviceClient) MdataEnableDisable(ctx context.Context, in *MdataEnableD if err != nil { return nil, err } - return out, nil + return out, api.RetvalToVPPApiError(out.Retval) } |