From ec046aec1b3dee5ae47f17e6642e68b4fe64e9d5 Mon Sep 17 00:00:00 2001 From: Andras Banki-Horvath Date: Wed, 19 Jan 2022 17:06:12 +0100 Subject: [PATCH] lncli: add force flag to --- cmd/lncli/cmd_import_mission_control.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cmd/lncli/cmd_import_mission_control.go b/cmd/lncli/cmd_import_mission_control.go index 79847159f..22ca217f7 100644 --- a/cmd/lncli/cmd_import_mission_control.go +++ b/cmd/lncli/cmd_import_mission_control.go @@ -24,6 +24,10 @@ var importMissionControlCommand = cli.Command{ Name: "failure", Usage: "whether the routing history entry was a failure", }, + cli.BoolFlag{ + Name: "force", + Usage: "whether to force the history entry import", + }, }, } @@ -86,6 +90,7 @@ func importMissionControl(ctx *cli.Context) error { Pairs: []*routerrpc.PairHistory{ importResult, }, + Force: ctx.IsSet("force"), } rpcCtx := context.Background()