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: potential nil panic #2602

Merged
merged 1 commit into from
Aug 7, 2023
Merged

fix: potential nil panic #2602

merged 1 commit into from
Aug 7, 2023

Conversation

jim3ma
Copy link
Member

@jim3ma jim3ma commented Aug 7, 2023

Description

Related Issue

Motivation and Context

Screenshots (if appropriate)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation Update (if none of the other choices apply)

Checklist

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.

@jim3ma jim3ma requested a review from a team as a code owner August 7, 2023 08:56
@codecov
Copy link

codecov bot commented Aug 7, 2023

Codecov Report

Merging #2602 (152e975) into main (8f6f20b) will increase coverage by 0.04%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #2602      +/-   ##
==========================================
+ Coverage   51.62%   51.66%   +0.04%     
==========================================
  Files         158      158              
  Lines       21020    21020              
==========================================
+ Hits        10851    10860       +9     
+ Misses       9550     9538      -12     
- Partials      619      622       +3     
Flag Coverage Δ
Object-compatibility-e2etests ?
e2etests ?
unittests 51.66% <0.00%> (+0.04%) ⬆️

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

Files Changed Coverage Δ
client/daemon/peer/peertask_manager.go 25.65% <0.00%> (ø)
client/daemon/rpcserver/rpcserver.go 48.40% <0.00%> (ø)

... and 1 file with indirect coverage changes

Copy link
Member

@gaius-qi gaius-qi left a comment

Choose a reason for hiding this comment

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

LGTM

@gaius-qi gaius-qi merged commit a64140f into main Aug 7, 2023
@gaius-qi gaius-qi deleted the fix/potential-nil-panic branch August 7, 2023 09:55
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.

3 participants