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

refactor(libsinsp): better clarify filtercheck subclass extracting only one value #1792

Merged
merged 1 commit into from
Apr 15, 2024

Conversation

jasondellaluce
Copy link
Contributor

What type of PR is this?

/kind cleanup

/kind design

Any specific area of the project related to this PR?

/area libsinsp

Does this PR require a change in the driver versions?

What this PR does / why we need it:

Revieweing and operating with the code area related to filterchecks is becoming more and more confusing due to different methods overridden and having the same name. This PR disambiguates the extract protected method responsible of extracting only one value, from the broader extract that is part fo the actual public interface.

Which issue(s) this PR fixes:

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

refactor(libsinsp): better clarify filtercheck subclass extracting only one value

@jasondellaluce
Copy link
Contributor Author

/milestone 0.17.0

@poiana poiana requested review from hbrueckner and leogr April 15, 2024 10:33
@poiana poiana added this to the 0.17.0 milestone Apr 15, 2024
@poiana poiana added the size/M label Apr 15, 2024
…ly one value

Having `extract` methods all with the same name bacame confusing both to develop on and to review.

Co-authored-by: Andrea Terzolo <[email protected]>
Signed-off-by: Jason Dellaluce <[email protected]>
Copy link
Member

@Andreagit97 Andreagit97 left a comment

Choose a reason for hiding this comment

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

/approve

@poiana
Copy link
Contributor

poiana commented Apr 15, 2024

LGTM label has been added.

Git tree hash: 645d0e451204d6025ab2776f28ba2c88a45cc4dd

@poiana
Copy link
Contributor

poiana commented Apr 15, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Andreagit97, jasondellaluce, leogr

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [Andreagit97,jasondellaluce,leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@poiana poiana merged commit 449877a into master Apr 15, 2024
40 checks passed
@poiana poiana deleted the refactor/filtercheck-extract-single branch April 15, 2024 14:25
@Andreagit97 Andreagit97 modified the milestones: 0.17.0, 0.16.0 Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants