Skip to content
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

rename recovery file #342

Merged
merged 2 commits into from
Jan 15, 2024
Merged

rename recovery file #342

merged 2 commits into from
Jan 15, 2024

Conversation

Landeers
Copy link
Contributor

fix #333

@Landeers Landeers force-pushed the rename-recovery-file branch from e1aecc5 to 379bbd4 Compare January 10, 2024 14:05
@Landeers Landeers marked this pull request as ready for review January 10, 2024 14:14
@Landeers Landeers requested a review from a team January 10, 2024 14:14
@@ -86,7 +86,11 @@ async def export_device(core: LoggedCore) -> tuple[dict[str, Any], int]:
finally:
path.unlink()

file_name = get_recovery_device_file_name(core.device).replace("parsec-", "resana-secure-", 1)
file_name = (
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a comment to explain the expected pattern ?
(typically this --unknown- part seems strange, I guess the reason is related to the device label being always unknown in resana, and I'm not sure why the double dash part...)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done.

@Landeers Landeers merged commit d8f4305 into master Jan 15, 2024
7 checks passed
@Landeers Landeers deleted the rename-recovery-file branch January 15, 2024 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rename recovery file name
3 participants