X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=binapi%2Fgso%2Fgso_rpc.ba.go;h=0d3ed10289c425f8ddb6b7db4a02c25fd4aa09fd;hb=c2456559a66107441addb96f673191bde09d6977;hp=42bb837ef27f5dcaa5fcb05afad7e3506e1d99f3;hpb=f751f3f845ef56bbcdb873d81a1c6edbc5a87853;p=govpp.git diff --git a/binapi/gso/gso_rpc.ba.go b/binapi/gso/gso_rpc.ba.go index 42bb837..0d3ed10 100644 --- a/binapi/gso/gso_rpc.ba.go +++ b/binapi/gso/gso_rpc.ba.go @@ -8,7 +8,7 @@ import ( api "git.fd.io/govpp.git/api" ) -// RPCService defines RPC service gso. +// RPCService defines RPC service gso. type RPCService interface { FeatureGsoEnableDisable(ctx context.Context, in *FeatureGsoEnableDisable) (*FeatureGsoEnableDisableReply, error) } @@ -27,5 +27,5 @@ func (c *serviceClient) FeatureGsoEnableDisable(ctx context.Context, in *Feature if err != nil { return nil, err } - return out, nil + return out, api.RetvalToVPPApiError(out.Retval) }