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

fix: avoid nil pointer dereference #2061

Merged
merged 2 commits into from
Aug 23, 2021
Merged

fix: avoid nil pointer dereference #2061

merged 2 commits into from
Aug 23, 2021

Conversation

okaybase
Copy link
Member

Please answer these questions before submitting a pull request, or your PR will get closed.

Why submit this pull request?

  • Bugfix
  • New feature provided
  • Improve performance
  • Backport patches

What changes will this PR take into?

Please update this section with detailed description.

Related issues

fix/resolve:
avoid nil pointer dereference

Checklist:

  • Did you explain what problem does this PR solve? Or what new features have been added?
  • Have you added corresponding test cases?
  • Have you modified the corresponding document?
  • Is this PR backward compatible? If it is not backward compatible, please discuss on the mailing list first

@netlify
Copy link

netlify bot commented Aug 11, 2021

✔️ Deploy Preview for apisix-dashboard ready!

🔨 Explore the source changes: d1c3053

🔍 Inspect the deploy log: https://app.netlify.com/sites/apisix-dashboard/deploys/6113f6b1274cd50008b04ef6

😎 Browse the preview: https://deploy-preview-2061--apisix-dashboard.netlify.app

@codecov-commenter
Copy link

Codecov Report

Merging #2061 (09ea60a) into master (e8503a0) will decrease coverage by 13.17%.
The diff coverage is 100.00%.

❗ Current head 09ea60a differs from pull request most recent head d8521df. Consider uploading reports for the commit d8521df to get more accurate results
Impacted file tree graph

@@             Coverage Diff             @@
##           master    #2061       +/-   ##
===========================================
- Coverage   66.11%   52.94%   -13.18%     
===========================================
  Files         121       38       -83     
  Lines        3226     2935      -291     
  Branches      787        0      -787     
===========================================
- Hits         2133     1554      -579     
- Misses       1093     1188       +95     
- Partials        0      193      +193     
Flag Coverage Δ
backend-unit-test 52.94% <100.00%> (?)
frontend-e2e-test ?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
api/internal/handler/data_loader/route_export.go 71.23% <100.00%> (ø)
...mponents/Upstream/components/active-check/Type.tsx
...ream/components/active-check/Healthy/Successes.tsx
web/src/components/Plugin/UI/limit-count.tsx
web/src/components/PluginFlow/constants.ts
web/src/pages/SSL/Create.tsx
...omponents/passive-check/Unhealthy/HttpStatuses.tsx
...b/src/components/Plugin/UI/referer-restriction.tsx
web/src/components/Upstream/components/Scheme.tsx
web/src/pages/User/Login.tsx
... and 150 more

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 e8503a0...d8521df. Read the comment docs.

@liuxiran liuxiran merged commit a3ac120 into apache:master Aug 23, 2021
@okaybase okaybase deleted the fix branch August 23, 2021 00:34
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.

None yet

5 participants