Skip to content

restore: fix failed restores showing Restore ok with warning#1387

Merged
pstorz merged 2 commits intobareos:masterfrom
alaaeddineelamri:dev/alaaeddineelamri/master/fix-restore-fail-shows-ok-with-warning
Feb 21, 2023
Merged

restore: fix failed restores showing Restore ok with warning#1387
pstorz merged 2 commits intobareos:masterfrom
alaaeddineelamri:dev/alaaeddineelamri/master/fix-restore-fail-shows-ok-with-warning

Conversation

@alaaeddineelamri
Copy link
Contributor

@alaaeddineelamri alaaeddineelamri commented Feb 21, 2023

Description

This PR fixes an issue where failed restore jobs would show a Restore ok -- with warnings message instead of the proper failed message.

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
  • Check backport line
Source code quality
  • Source code changes are understandable
  • Variable and function names are meaningful
  • Code comments are correct (logically and spelling)

Copy link
Contributor

@bruno-at-bareos bruno-at-bareos left a comment

Choose a reason for hiding this comment

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

Thanks, easy but efficient fix.
Tested and works like expected.

@pstorz pstorz merged commit 421f8eb into bareos:master Feb 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants