Skip to content

Fix wrong commands json docs for CLIENT KILL#10970

Merged
oranagra merged 2 commits intoredis:unstablefrom
valkum:client-kill-docs
Aug 1, 2022
Merged

Fix wrong commands json docs for CLIENT KILL#10970
oranagra merged 2 commits intoredis:unstablefrom
valkum:client-kill-docs

Conversation

@valkum
Copy link
Contributor

@valkum valkum commented Jul 13, 2022

This PR originates from #10948

The docs state that there is a new and an old argument format.
The current state of the arguments allows mixing the old and new format, thus the need for two additional oneof blocks.
One for differentiating the new from the old format and then a inner one to allow setting multiple filters using the new format.

I also changed the name of the old format in accordance with the new format oneof to make that clearer in the docs.

@enjoy-binbin enjoy-binbin requested a review from guybe7 July 13, 2022 14:59
@valkum valkum force-pushed the client-kill-docs branch from 2b30136 to 856d253 Compare July 17, 2022 14:28
The docs state that there is a new and an old argument format.
The current state of the arguments allows mixing the old and new format,
thus the need for two additional oneof blocks.
One for differentiating the new from the old format and then one to
allow setting multiple filters using the new format.
Copy link
Member

@oranagra oranagra left a comment

Choose a reason for hiding this comment

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

@valkum can you please make commands.c and push it?

@oranagra oranagra merged commit 4ce3fd5 into redis:unstable Aug 1, 2022
oranagra pushed a commit that referenced this pull request Sep 21, 2022
The docs state that there is a new and an old argument format.
The current state of the arguments allows mixing the old and new format,
thus the need for two additional oneof blocks.
One for differentiating the new from the old format and then one to
allow setting multiple filters using the new format.

(cherry picked from commit 4ce3fd5)
enjoy-binbin pushed a commit to enjoy-binbin/redis that referenced this pull request Jul 31, 2023
The docs state that there is a new and an old argument format.
The current state of the arguments allows mixing the old and new format,
thus the need for two additional oneof blocks.
One for differentiating the new from the old format and then one to
allow setting multiple filters using the new format.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants