You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "Xu-Wentao (via GitHub)" <gi...@apache.org> on 2023/04/25 06:09:53 UTC

[GitHub] [shardingsphere-on-cloud] Xu-Wentao commented on a diff in pull request #322: feat(pitr): pitr support check disk space before do backup and restore

Xu-Wentao commented on code in PR #322:
URL: https://github.com/apache/shardingsphere-on-cloud/pull/322#discussion_r1176045024


##########
pitr/cli/internal/cmd/root.go:
##########
@@ -56,3 +63,99 @@ var RootCmd = &cobra.Command{
 		HiddenDefaultCmd:  true,
 	},
 }
+
+func getUserApproveInTerminal(prompt string) error {
+	fmt.Println(prompt)

Review Comment:
   i use logging.warn to replace it, this place is used to print some Message for user to check and need user input Y|N to continue.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org