Skip to content

fix autodeflate messages and refactor setup method#2121

Merged
BareosBot merged 11 commits intobareos:masterfrom
florian-at-bareos:issue1944
Feb 24, 2025
Merged

fix autodeflate messages and refactor setup method#2121
BareosBot merged 11 commits intobareos:masterfrom
florian-at-bareos:issue1944

Conversation

@florian-at-bareos
Copy link
Contributor

@florian-at-bareos florian-at-bareos commented Jan 15, 2025

Fixes #1944: autoxflate lzo & visuals are broken

Remove switch statement to avoid dangerous fallthrough with code in
between which causes the problem (#1944) in the first place.

Note that I did a manual test and got the correct compressor names:
17-Jan 09:01 bareos-sd JobId 13: autoxflate-sd: Compressor on device FileStorage is LZ4
previously this would output LZ4HC besides LZ4 being specified

Thank you for contributing to the Bareos Project!

Please check

  • Short description and the purpose of this PR is present above this paragraph
  • Your name is present in the AUTHORS file (optional)

If you have any questions or problems, please give a comment in the PR.

Helpful documentation and best practices

Checklist for the reviewer of the PR (will be processed by the Bareos team)

Make sure you check/merge the PR using devtools/pr-tool to have some simple automated checks run and a proper changelog record added.

General
  • Is the PR title usable as CHANGELOG entry?
  • Purpose of the PR is understood
  • Commit descriptions are understandable and well formatted
    Required backport PRs have been created
  • Correct milestone is set
Source code quality
  • Source code changes are understandable
  • Variable and function names are meaningful
  • Code comments are correct (logically and spelling)
  • Required documentation changes are present and part of the PR

@florian-at-bareos florian-at-bareos marked this pull request as ready for review January 17, 2025 08:10
@florian-at-bareos florian-at-bareos added the bug This addresses a bug label Jan 17, 2025
@florian-at-bareos florian-at-bareos force-pushed the issue1944 branch 4 times, most recently from ecfe24d to 20011f9 Compare January 28, 2025 16:47
@sebsura sebsura added this to the 25.0.0 milestone Feb 3, 2025
@arogge arogge added the nobuild label Feb 17, 2025
@arogge arogge mentioned this pull request Feb 17, 2025
10 tasks
@BareosBot BareosBot merged commit f7fc7ec into bareos:master Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug This addresses a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

autoxflate lzo & visuals are broken

4 participants