Skip to content

Comments

Replace panicy functions with options and results.#390

Merged
hulto merged 5 commits intomainfrom
363-bug-ran-into-an-issue-when-demoing-realm
Dec 17, 2023
Merged

Replace panicy functions with options and results.#390
hulto merged 5 commits intomainfrom
363-bug-ran-into-an-issue-when-demoing-realm

Conversation

@hulto
Copy link
Collaborator

@hulto hulto commented Dec 10, 2023

What type of PR is this?

/kind bug
/kind cleanup

What this PR does / why we need it:

Removes functions from port_scan that would panic.

Which issue(s) this PR fixes:

Fixes #363

@hulto hulto linked an issue Dec 10, 2023 that may be closed by this pull request
@hulto hulto marked this pull request as ready for review December 10, 2023 00:22
@codecov
Copy link

codecov bot commented Dec 10, 2023

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (0238234) 71.77% compared to head (61c6b5b) 71.78%.

Files Patch % Lines
implants/lib/eldritch/src/assets/copy_impl.rs 0.00% 1 Missing ⚠️
implants/lib/eldritch/src/pivot/ncat_impl.rs 80.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #390   +/-   ##
=======================================
  Coverage   71.77%   71.78%           
=======================================
  Files         108      108           
  Lines        7923     7929    +6     
=======================================
+ Hits         5687     5692    +5     
- Misses       2127     2128    +1     
  Partials      109      109           

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

@hulto hulto requested review from Cictrone and jabbate19 December 11, 2023 03:42
Copy link
Collaborator

@jabbate19 jabbate19 left a comment

Choose a reason for hiding this comment

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

:shipit:

@hulto hulto merged commit aa79fe9 into main Dec 17, 2023
@hulto hulto deleted the 363-bug-ran-into-an-issue-when-demoing-realm branch December 17, 2023 18:59
KCarretto pushed a commit that referenced this pull request Feb 1, 2024
 
Replace panicy functions with options and results. (#390)

* Replace panicy functions with options and results.
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.

[bug] ran into an issue when demoing realm

2 participants