fix: Correct missed name updates to OutgoingInterceptor.

pull/310/head
Todd Knight 6 years ago
parent c4522aa813
commit 24ec9620ca

@ -77,7 +77,7 @@ func handleGrpcGateway(c *Controller, props HandlerProperties) (http.Handler, er
},
}),
runtime.WithErrorHandler(handlers.ErrorHandler(c.logger)),
runtime.WithForwardResponseOption(handlers.OutgoingIntercepter),
runtime.WithForwardResponseOption(handlers.OutgoingInterceptor),
)
hcs, err := host_catalogs.NewService(c.StaticHostRepoFn)
if err != nil {

@ -13,7 +13,7 @@ import (
func TestOutgoingSplitCookie(t *testing.T) {
rec := httptest.NewRecorder()
OutgoingIntercepter(context.Background(), rec, &pbs.AuthenticateResponse{
OutgoingInterceptor(context.Background(), rec, &pbs.AuthenticateResponse{
TokenType: "cookie",
Item: &pb.AuthToken{Token: "t_abc_1234567890"},
})

Loading…
Cancel
Save