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

failures can break when no logs #693

Merged
merged 2 commits into from
Jun 7, 2022
Merged

Conversation

cduelo
Copy link
Contributor

@cduelo cduelo commented Jun 7, 2022

A failed node that is not reporting any more can break failures raising the exception UnboundLocalError: local variable 'source' referenced before assignment

This should prevent this situation and show simple message

cduelo added 2 commits June 7, 2022 02:14
A failed node that is not reporting any more can break failures raising the exception `UnboundLocalError: local variable 'source' referenced before assignment`

This should prevent this situation and show simple message
@codecov
Copy link

codecov bot commented Jun 7, 2022

Codecov Report

Merging #693 (68a96bf) into master (92fc683) will decrease coverage by 0.32%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master     #693      +/-   ##
==========================================
- Coverage   86.31%   85.98%   -0.33%     
==========================================
  Files          19       19              
  Lines        1052     1056       +4     
==========================================
  Hits          908      908              
- Misses        144      148       +4     
Impacted Files Coverage Δ
puppetboard/views/failures.py 26.19% <0.00%> (-2.76%) ⬇️

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 92fc683...68a96bf. Read the comment docs.

@cduelo cduelo changed the title failures breaks can break when no logs failures can break when no logs Jun 7, 2022
@gdubicki
Copy link
Contributor

gdubicki commented Jun 7, 2022

LGTM, thanks @carlosduelo!

@gdubicki gdubicki merged commit 4329b63 into voxpupuli:master Jun 7, 2022
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.

2 participants