diff options
Diffstat (limited to 'internal/testbinapi/binapi2001/ct6')
-rw-r--r-- | internal/testbinapi/binapi2001/ct6/ct6.ba.go | 5 | ||||
-rw-r--r-- | internal/testbinapi/binapi2001/ct6/ct6_rpc.ba.go | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/internal/testbinapi/binapi2001/ct6/ct6.ba.go b/internal/testbinapi/binapi2001/ct6/ct6.ba.go index d8edfbd..80727b8 100644 --- a/internal/testbinapi/binapi2001/ct6/ct6.ba.go +++ b/internal/testbinapi/binapi2001/ct6/ct6.ba.go @@ -1,6 +1,6 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: -// binapi-generator: v0.4.0-dev +// binapi-generator: v0.5.0-dev // VPP: 20.01 // source: .vppapi/plugins/ct6.api.json @@ -14,9 +14,10 @@ package ct6 import ( + "strconv" + api "git.fd.io/govpp.git/api" codec "git.fd.io/govpp.git/codec" - "strconv" ) // This is a compile-time assertion to ensure that this generated file diff --git a/internal/testbinapi/binapi2001/ct6/ct6_rpc.ba.go b/internal/testbinapi/binapi2001/ct6/ct6_rpc.ba.go index 888fd32..fcae22d 100644 --- a/internal/testbinapi/binapi2001/ct6/ct6_rpc.ba.go +++ b/internal/testbinapi/binapi2001/ct6/ct6_rpc.ba.go @@ -4,10 +4,11 @@ package ct6 import ( "context" + api "git.fd.io/govpp.git/api" ) -// RPCService defines RPC service ct6. +// RPCService defines RPC service ct6. type RPCService interface { Ct6EnableDisable(ctx context.Context, in *Ct6EnableDisable) (*Ct6EnableDisableReply, error) } @@ -26,5 +27,5 @@ func (c *serviceClient) Ct6EnableDisable(ctx context.Context, in *Ct6EnableDisab if err != nil { return nil, err } - return out, nil + return out, api.RetvalToVPPApiError(out.Retval) } |