Skip to content
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.

bugfix: check err returned by peerMgr.Get to prevent nil pointer refe… #1253

Merged
merged 1 commit into from
Mar 19, 2020

Conversation

lowzj
Copy link
Member

@lowzj lowzj commented Mar 18, 2020

Signed-off-by: lowzj [email protected]

Ⅰ. Describe what this PR did

see: #1198

Ⅱ. Does this pull request fix one issue?

fixes: #1198

Ⅲ. Why don't you add test cases (unit test/integration test)? (你真的觉得不需要加测试吗?)

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

@pouchrobot pouchrobot added kind/bug This is bug report for project size/S labels Mar 18, 2020
@codecov-io
Copy link

Codecov Report

Merging #1253 into master will decrease coverage by 0.02%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1253      +/-   ##
==========================================
- Coverage   48.43%   48.40%   -0.03%     
==========================================
  Files         119      119              
  Lines        7573     7577       +4     
==========================================
  Hits         3668     3668              
- Misses       3608     3612       +4     
  Partials      297      297              
Impacted Files Coverage Δ
supernode/daemon/mgr/task/manager_util.go 23.43% <0.00%> (-0.32%) ⬇️

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 894eae8...d38af90. Read the comment docs.

Copy link
Member

@SataQiu SataQiu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/LGTM

@allencloud
Copy link
Contributor

LGTM

@allencloud allencloud merged commit f27e2e4 into dragonflyoss:master Mar 19, 2020
@pouchrobot pouchrobot added the LGTM one maintainer or community participant agrees to merge the pull reuqest. label Mar 19, 2020
@lowzj lowzj deleted the fix-issue1198 branch March 19, 2020 10:18
sungjunyoung pushed a commit to sungjunyoung/Dragonfly that referenced this pull request May 8, 2022
* chore: optimize sync pieces

Signed-off-by: Jim Ma <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug This is bug report for project LGTM one maintainer or community participant agrees to merge the pull reuqest. size/S
Projects
None yet
Development

Successfully merging this pull request may close these issues.

supernode 1.0.0 http: panic serving
6 participants