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

Check if fact is None (default for full node view) #908

Merged
merged 1 commit into from
Jul 26, 2023

Conversation

yakatz
Copy link
Contributor

@yakatz yakatz commented Jul 26, 2023

Not sure how this ever worked - on a node page, fact defaults to None and produces this error TypeError: 'in <string>' requires string as left operand, not NoneType

Fixes #907

Not sure how this ever worked - on a node page, `fact` defaults to `None` and produces this error `TypeError: 'in <string>' requires string as left operand, not NoneType`

Fixes voxpupuli#907
@codecov
Copy link

codecov bot commented Jul 26, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (f7abf68) 77.15% compared to head (47034a0) 77.15%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #908   +/-   ##
=======================================
  Coverage   77.15%   77.15%           
=======================================
  Files          20       20           
  Lines        1309     1309           
=======================================
  Hits         1010     1010           
  Misses        299      299           
Files Changed Coverage Δ
puppetboard/views/facts.py 99.11% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jstraw jstraw merged commit fa2be4c into voxpupuli:master Jul 26, 2023
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Setting GRAPH_FACTS causes a 500 error
3 participants