aboutsummaryrefslogtreecommitdiffstats
path: root/binapi/span/span_rpc.ba.go
diff options
context:
space:
mode:
Diffstat (limited to 'binapi/span/span_rpc.ba.go')
-rw-r--r--binapi/span/span_rpc.ba.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/binapi/span/span_rpc.ba.go b/binapi/span/span_rpc.ba.go
index f9f9538..1452be8 100644
--- a/binapi/span/span_rpc.ba.go
+++ b/binapi/span/span_rpc.ba.go
@@ -11,7 +11,7 @@ import (
vpe "git.fd.io/govpp.git/binapi/vpe"
)
-// RPCService defines RPC service span.
+// RPCService defines RPC service span.
type RPCService interface {
SwInterfaceSpanDump(ctx context.Context, in *SwInterfaceSpanDump) (RPCService_SwInterfaceSpanDumpClient, error)
SwInterfaceSpanEnableDisable(ctx context.Context, in *SwInterfaceSpanEnableDisable) (*SwInterfaceSpanEnableDisableReply, error)
@@ -70,5 +70,5 @@ func (c *serviceClient) SwInterfaceSpanEnableDisable(ctx context.Context, in *Sw
if err != nil {
return nil, err
}
- return out, nil
+ return out, api.RetvalToVPPApiError(out.Retval)
}