Skip to content

Commit 3e586bf

Browse files
authored
fix(gateway): can not marshal response from ValidateEventbus (#630)
Signed-off-by: jyjiangkai <jyjiangkai@163.com>
1 parent 28f745f commit 3e586bf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/gateway/proxy/direct.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ func (cp *ControllerProxy) ValidateEventbus(
154154
ctx context.Context, req *proxypb.ValidateEventbusRequest,
155155
) (*emptypb.Empty, error) {
156156
err := cp.client.Eventbus(ctx, api.WithID(req.EventbusId)).CheckHealth(ctx)
157-
return nil, err
157+
return &emptypb.Empty{}, err
158158
}
159159

160160
func authCreateSubscription(_ context.Context, req interface{},

0 commit comments

Comments
 (0)