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

Insert all restore errors and warnings into restore log #4743

Merged
merged 1 commit into from
Mar 21, 2022

Conversation

sseago
Copy link
Collaborator

@sseago sseago commented Mar 15, 2022

Signed-off-by: Scott Seago sseago@redhat.com

Thank you for contributing to Velero!

Please add a summary of your change

This allows a user inspecting the restore logs to see any
errors or warnings generated by the restore so that they
will be seen even without having to use the describe cli.

Does your change fix a particular issue?

Fixes #4742

Please indicate you've done the following:

  • [ x] Accepted the DCO. Commits without the DCO will delay acceptance.
  • [ x] Created a changelog file or added /kind changelog-not-required as a comment on this pull request.
  • Updated the corresponding documentation in site/content/docs/main.

This allows a user inspecting the restore logs to see any
errors or warnings generated by the restore so that they
will be seen even without having to use the describe cli.

Signed-off-by: Scott Seago <sseago@redhat.com>
@codecov-commenter
Copy link

codecov-commenter commented Mar 15, 2022

Codecov Report

Merging #4743 (f01d529) into main (3c49ec4) will decrease coverage by 0.06%.
The diff coverage is 27.27%.

@@            Coverage Diff             @@
##             main    #4743      +/-   ##
==========================================
- Coverage   40.81%   40.75%   -0.07%     
==========================================
  Files         202      202              
  Lines       17972    17994      +22     
==========================================
- Hits         7336     7334       -2     
- Misses      10116    10134      +18     
- Partials      520      526       +6     
Impacted Files Coverage Δ
pkg/controller/restore_controller.go 66.27% <27.27%> (-2.12%) ⬇️
pkg/restore/restore.go 65.99% <0.00%> (-0.65%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3c49ec4...f01d529. Read the comment docs.

@qiuming-best qiuming-best self-requested a review March 16, 2022 02:39
@reasonerjt reasonerjt merged commit 09ec3ba into vmware-tanzu:main Mar 21, 2022
gyaozhou pushed a commit to gyaozhou/velero-read that referenced this pull request May 14, 2022
…#4743)

This allows a user inspecting the restore logs to see any
errors or warnings generated by the restore so that they
will be seen even without having to use the describe cli.

Signed-off-by: Scott Seago <sseago@redhat.com>
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.

Velero restore warnings and errors are not included in velero logs
5 participants