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

[FIXED] Default statistics handler of microservice had unnecessary check #837

Merged
merged 1 commit into from
Feb 16, 2025

Conversation

kozlovic
Copy link
Member

The default handler was invoked with a request that was already checked to have a service associated. The handler was extracting the service (that was not needed) and had an incorrect check such as if ((m == NULL) || (m == NULL)).

Resolves #833

Signed-off-by: Ivan Kozlovic [email protected]

The default handler was invoked with a request that was already
checked to have a service associated. The handler was extracting
the service (that was not needed) and had an incorrect check
such as `if ((m == NULL) || (m == NULL))`.

Resolves #833

Signed-off-by: Ivan Kozlovic <[email protected]>
@kozlovic kozlovic requested a review from levb February 12, 2025 19:07
Copy link

codecov bot commented Feb 12, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 70.47%. Comparing base (1553d4a) to head (6085b96).
Report is 37 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #837      +/-   ##
==========================================
+ Coverage   68.71%   70.47%   +1.76%     
==========================================
  Files          39       47       +8     
  Lines       15207    15386     +179     
  Branches     3143     3154      +11     
==========================================
+ Hits        10449    10843     +394     
+ Misses       1700     1505     -195     
+ Partials     3058     3038      -20     

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

Copy link
Collaborator

@levb levb left a comment

Choose a reason for hiding this comment

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

LGTM

@levb levb merged commit 6d6590b into main Feb 16, 2025
30 checks passed
@levb levb deleted the fix_833 branch February 16, 2025 15:32
github-actions bot pushed a commit that referenced this pull request Feb 16, 2025
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.

logical ‘or’ of equal expressions in micro_monitoring
2 participants