From 58740c1075225cd14bf5664bd48909fb90f4ce80 Mon Sep 17 00:00:00 2001 From: kmetin Date: Mon, 13 Nov 2023 11:15:49 +0300 Subject: [PATCH] fix PR comment --- base/commands/migration/migration_start.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/commands/migration/migration_start.go b/base/commands/migration/migration_start.go index 90dc5bb3..c48723d5 100644 --- a/base/commands/migration/migration_start.go +++ b/base/commands/migration/migration_start.go @@ -34,6 +34,7 @@ func (StartCmd) Init(cc plug.InitContext) error { } func (StartCmd) Exec(ctx context.Context, ec plug.ExecContext) (err error) { + cmd.SetCancelMsg(" (Ctrl+C to exit) ") ci, err := ec.ClientInternal(ctx) if err != nil { return err @@ -98,6 +99,5 @@ Selected data structures in the source cluster will be migrated to the target cl } func init() { - cmd.SetCancelMsg(" (Ctrl+C to exit) ") check.Must(plug.Registry.RegisterCommand("start", &StartCmd{})) }