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

Enhancement/71 remove client conditional directives from the code #76

Conversation

sdvendramini
Copy link
Member

Related issue:

#71

Description

This PR adds the changes to delete the use of the CLIENT conditional directive and remove any unnecessary manager-related code used along with these directives.

@sdvendramini sdvendramini linked an issue Aug 12, 2024 that may be closed by this pull request
@sdvendramini sdvendramini self-assigned this Aug 12, 2024
@sdvendramini sdvendramini force-pushed the enhancement/71-remove-client-conditional-directives-from-the-code branch 2 times, most recently from 2e9b2d7 to d949d67 Compare August 12, 2024 10:58
@sdvendramini sdvendramini marked this pull request as ready for review August 12, 2024 10:59
@sdvendramini sdvendramini force-pushed the enhancement/71-remove-client-conditional-directives-from-the-code branch from d949d67 to 6ce47bb Compare August 12, 2024 14:49
src/common/syscheck_op/src/syscheck_op.c Show resolved Hide resolved
src/common/utils/shared.h Outdated Show resolved Hide resolved
@sdvendramini sdvendramini force-pushed the enhancement/71-remove-client-conditional-directives-from-the-code branch from 6ce47bb to 918d3d1 Compare August 12, 2024 15:36
Copy link
Member

@TomasTurina TomasTurina left a comment

Choose a reason for hiding this comment

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

Remove related UT to functions that don't exist anymore.

src/common/syscheck_op/include/syscheck_op.h Show resolved Hide resolved
@TomasTurina TomasTurina self-requested a review August 12, 2024 15:51
The use of the CLIENT directive is deleted and all manager logic is removed.
@sdvendramini sdvendramini force-pushed the enhancement/71-remove-client-conditional-directives-from-the-code branch from 918d3d1 to 7a253cc Compare August 12, 2024 15:54
Copy link
Member

@TomasTurina TomasTurina left a comment

Choose a reason for hiding this comment

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

Remove all code under TEST_SERVER flags.

@sdvendramini sdvendramini force-pushed the enhancement/71-remove-client-conditional-directives-from-the-code branch from 7947f35 to 22004cd Compare August 13, 2024 08:42
@TomasTurina TomasTurina merged commit 5fa3e5b into master Aug 13, 2024
2 checks passed
@TomasTurina TomasTurina deleted the enhancement/71-remove-client-conditional-directives-from-the-code branch August 13, 2024 15:47
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.

Remove CLIENT conditional directives from the code
2 participants