Skip to content

Commit

Permalink
Moved the confirmation of user backup
Browse files Browse the repository at this point in the history
* the confirmation for the users backup is now its own function
  and is seperated from the print_data_collection() as this has noting
  to do with that function
* Added the call to the new function to be right after the
  print_data_collection()
  • Loading branch information
Andrew-ang9 committed Jun 4, 2024
1 parent d5d7799 commit 70927c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions convert2rhel/breadcrumbs.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ def print_data_collection(self):
)
utils.ask_to_continue()

def confirm_backup(self):
# Add in the warning about the system back up here!
loggerinst.warnign(
"Convert2RHEL modifies the systems during the analysis and then rolls back these"
Expand Down
1 change: 1 addition & 0 deletions convert2rhel/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,7 @@ def perform_boilerplate():

loggerinst.task("Prepare: Inform about data collection")
breadcrumbs.breadcrumbs.print_data_collection()
breadcrumbs.bredcrumbs.confirm_backup()


def show_eula():
Expand Down

0 comments on commit 70927c6

Please sign in to comment.