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

Update netutils.go #1561

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update netutils.go #1561

wants to merge 1 commit into from

Conversation

guoguodan
Copy link

add param check,it may be null pointer

@guoguodan
Copy link
Author

add param check,it may be null pointer

@guoguodan guoguodan closed this Aug 16, 2021
@guoguodan guoguodan reopened this Aug 16, 2021
@codecov-commenter
Copy link

Codecov Report

Merging #1561 (39e1e0b) into master (d2a749a) will increase coverage by 1.62%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1561      +/-   ##
==========================================
+ Coverage   49.16%   50.79%   +1.62%     
==========================================
  Files         145      145              
  Lines        8408     9592    +1184     
==========================================
+ Hits         4134     4872     +738     
- Misses       3887     4323     +436     
- Partials      387      397      +10     
Impacted Files Coverage Δ
pkg/netutils/netutils.go 55.33% <0.00%> (+2.62%) ⬆️
supernode/server/api/api.go 85.18% <0.00%> (-4.29%) ⬇️
dfget/locator/manager.go 69.23% <0.00%> (-3.50%) ⬇️
supernode/daemon/mgr/preheat/base_worker.go 18.60% <0.00%> (-1.99%) ⬇️
dfget/config/supernode_value.go 64.15% <0.00%> (-1.74%) ⬇️
supernode/store/errors.go 73.33% <0.00%> (-1.67%) ⬇️
dfget/core/api/download_api.go 30.23% <0.00%> (-1.35%) ⬇️
dfget/types/pull_piece_task_response.go 85.71% <0.00%> (-1.25%) ⬇️
cmd/dfget/app/root.go 71.34% <0.00%> (-1.03%) ⬇️
supernode/config/config.go 93.75% <0.00%> (-0.99%) ⬇️
... and 136 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 d2a749a...39e1e0b. Read the comment docs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants