Skip to content

Commit

Permalink
fix PR comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kmetin committed Nov 13, 2023
1 parent 3aa09c7 commit 58740c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/commands/migration/migration_start.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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{}))
}

0 comments on commit 58740c1

Please sign in to comment.