diff --git a/pkg/lorry/client/client.go b/pkg/lorry/client/client.go index 7ceddf739e3..3a7f251b72a 100644 --- a/pkg/lorry/client/client.go +++ b/pkg/lorry/client/client.go @@ -211,9 +211,10 @@ func (cli *lorryClient) JoinMember(ctx context.Context) error { // LeaveMember sends a Leave member operation request to Lorry, located on the target pod that is about to leave. func (cli *lorryClient) LeaveMember(ctx context.Context, memberName string) error { - req := map[string]any{ + parameters := map[string]any{ "memberName": memberName, } + req := map[string]any{"parameters": parameters} _, err := cli.Request(ctx, string(LeaveMemberOperation), http.MethodPost, req) return err }