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
Remove useless set_user_name
function
#13119
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to manually test the log status with the most common use cases after this change.
Manual testsI have tested multiple endpoints after the changes performed in this PR and all responses were correct. These things were checked:
As mentioned above, there are no error logs in the
|
Description
This closes #12144. The goal of this pull is to remove the unused
set_user_function
from themiddlewares.py
file, as this function is no longer useful:wazuh/api/api/middlewares.py
Lines 30 to 34 in 245f82f