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

fix: add back the override Execute() of WatchCmd, InfoCmd, ConfigCmd #2693

Merged
merged 1 commit into from
Jun 4, 2024

Conversation

cheniujh
Copy link
Collaborator

@cheniujh cheniujh commented Jun 3, 2024

In https://github.com/OpenAtomFoundation/pika/pull/2533/files, the override Execute() of WatchCmd, InfoCmd, ConfigCmd has been deleted only for simplicity, but those override function has their own unique purpose: avoding calling the Execute() implimented by their base class "Cmd"

PS: No obvious bugs were found, but adding these methods back would be more secure.

@github-actions github-actions bot added Invalid PR Title ✏️ Feature New feature or request labels Jun 3, 2024
@cheniujh cheniujh changed the title add back the override Execute() of WatchCmd, InfoCmd, ConfigCmd fix: add back the override Execute() of WatchCmd, InfoCmd, ConfigCmd Jun 3, 2024
@cheniujh cheniujh added 4.0.0 and removed ✏️ Feature New feature or request labels Jun 3, 2024
@AlexStocks AlexStocks merged commit 4b390c0 into OpenAtomFoundation:unstable Jun 4, 2024
16 of 17 checks passed
@cheniujh cheniujh deleted the add_execute_back branch June 24, 2024 03:21
@cheniujh cheniujh restored the add_execute_back branch June 25, 2024 11:59
cheniujh added a commit to cheniujh/pika that referenced this pull request Sep 24, 2024
cheniujh added a commit to cheniujh/pika that referenced this pull request Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants