Change module name to go.fd.io/govpp
[govpp.git] / binapi / mdata / mdata_rpc.ba.go
index 28b2589..717d5c7 100644 (file)
@@ -5,10 +5,10 @@ package mdata
 import (
        "context"
 
-       api "git.fd.io/govpp.git/api"
+       api "go.fd.io/govpp/api"
 )
 
-// RPCService defines RPC service  mdata.
+// RPCService defines RPC service mdata.
 type RPCService interface {
        MdataEnableDisable(ctx context.Context, in *MdataEnableDisable) (*MdataEnableDisableReply, error)
 }
@@ -27,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)
 }