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

Use BOUNCER_PINNED_BASEURL_HTTP and BOUNCER_PINNED_BASEURL_HTTPS instead of the mirror_mirrors database table #393

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

willdurand
Copy link
Member

Depends on #392

It looks like we stopped using the sentry table in #9
and removed in #211.  The other functions were used for
other "checks", and also removed in #211.

This project shouldn't write anything to the DB anyway.
…ead of the `mirror_mirrors` database table

In practice, that's what we are already doing because these two env vars
are already set. This patch makes it more intentional and explicit,
while getting rid of yet another dependency to an unused database table.
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 25.00000% with 12 lines in your changes missing coverage. Please review.

Project coverage is 56.00%. Comparing base (de8bd2e) to head (513b469).

Files with missing lines Patch % Lines
main.go 0.00% 12 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #393      +/-   ##
==========================================
+ Coverage   50.69%   56.00%   +5.30%     
==========================================
  Files           6        6              
  Lines         716      566     -150     
==========================================
- Hits          363      317      -46     
+ Misses        330      233      -97     
+ Partials       23       16       -7     

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

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