Update generated binapi to v22.02 & makefile changes
[govpp.git] / internal / testbinapi / binapi2001 / mdata / mdata_rpc.ba.go
index 08e05d5..8ae8748 100644 (file)
@@ -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)
 }