-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CLC-429]: Change cancel message on dmt start command #431
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one thing...
@@ -95,5 +98,6 @@ Selected data structures in the source cluster will be migrated to the target cl | |||
} | |||
|
|||
func init() { | |||
cmd.SetCancelMsg(" (Ctrl+C to exit) ") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's better to put this at the start of Exec
, so it doesn't affect other commands.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One idea only...
Selected data structures in the source cluster will be migrated to the target cluster. | ||
Selected data structures in the source cluster will be migrated to the target cluster. | ||
|
||
(Pressing CTRL+C does not cancel the migration progress) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(Pressing CTRL+C does not cancel the migration progress) | |
Exiting the application does not affect the migration progress. | |
In order to cancel the migration, use the 'cancel' command. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# Conflicts: # base/commands/migration/migration_start.go
No description provided.