X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=internal%2Ftestbinapi%2Fbinapi2001%2Fhttp_static%2Fhttp_static_rpc.ba.go;h=12bd4c19d07837ef4c29973bf6a05b5bca79da75;hb=4102c72bce694babd94a481b1201d33895a6f9c5;hp=415313d8ea4d0dd1961326eba4c280d4f836f136;hpb=58da9ac6e691a8c660eb8ca838a154e11da0db68;p=govpp.git 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) }