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

Fix path checks for archived log files #4161

Merged
merged 1 commit into from
Oct 2, 2023

Conversation

bnaecker
Copy link
Collaborator

  • Fixes Path check for archived zone bundle log files is not correct #4160.
  • Checks for archived log files were wrong. This used the SMF FMRI, rather than the derived log filename, which translates slashes into dashes. This separates checks for Oxide-managed FMRIs and the log files for those.
  • Use the log file check when looking for archived files.
  • Add tests for both checks and the method for finding archived log files for a service.

@bnaecker bnaecker requested a review from jmpesp September 28, 2023 21:30
@bnaecker bnaecker force-pushed the fix-archived-log-file-path-check branch from 746c3d7 to 6b7611f Compare September 29, 2023 20:49
- Fixes #4160.
- Checks for archived log files were wrong. This used the SMF FMRI,
  rather than the derived log filename, which translates slashes into
  dashes. This separates checks for Oxide-managed FMRIs and the log
  files for those.
- Use the _log file_ check when looking for archived files.
- Add tests for both checks and the method for finding archived log
  files for a service.
@bnaecker bnaecker enabled auto-merge (squash) October 2, 2023 19:20
@bnaecker bnaecker merged commit e86579c into main Oct 2, 2023
22 checks passed
@bnaecker bnaecker deleted the fix-archived-log-file-path-check branch October 2, 2023 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Path check for archived zone bundle log files is not correct
2 participants