aboutsummaryrefslogtreecommitdiffstats
path: root/internal/testbinapi/binapi2001/http_static/http_static_rpc.ba.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/testbinapi/binapi2001/http_static/http_static_rpc.ba.go')
-rw-r--r--internal/testbinapi/binapi2001/http_static/http_static_rpc.ba.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/internal/testbinapi/binapi2001/http_static/http_static_rpc.ba.go b/internal/testbinapi/binapi2001/http_static/http_static_rpc.ba.go
index 415313d..12bd4c1 100644
--- a/internal/testbinapi/binapi2001/http_static/http_static_rpc.ba.go
+++ b/internal/testbinapi/binapi2001/http_static/http_static_rpc.ba.go
@@ -4,10 +4,11 @@ package http_static
import (
"context"
+
api "git.fd.io/govpp.git/api"
)
-// RPCService defines RPC service http_static.
+// RPCService defines RPC service http_static.
type RPCService interface {
HTTPStaticEnable(ctx context.Context, in *HTTPStaticEnable) (*HTTPStaticEnableReply, error)
}
@@ -26,5 +27,5 @@ func (c *serviceClient) HTTPStaticEnable(ctx context.Context, in *HTTPStaticEnab
if err != nil {
return nil, err
}
- return out, nil
+ return out, api.RetvalToVPPApiError(out.Retval)
}