-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
docs: Fix REQ command operator usage example #13197
Conversation
This fixes the docs for REQ command operator usage example in LocalReplyConfig and SubstitutionFormatString protos. Signed-off-by: Dhi Aurrahman <[email protected]>
@@ -41,11 +43,11 @@ message SubstitutionFormatString { | |||
// Nested JSON objects may be produced by some command operators (e.g. FILTER_STATE or DYNAMIC_METADATA). | |||
// See the documentation for a specific command operator for details. | |||
// | |||
// .. code-block:: | |||
// .. code-block:: yaml |
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.
Maybe consider using #11394 if it works here.
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.
Sorry, should the config validation be done automatically?
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.
From looking at the PR, you would need to switch to validated-code-block
.
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.
Thanks! Updated. But yeah, for $REQ()%
vs %REQ()%
I wish we can catch that too.
Signed-off-by: Dhi Aurrahman <[email protected]>
Signed-off-by: Dhi Aurrahman <[email protected]>
cc. @envoyproxy/api-shepherds |
/lgtm api |
Commit Message: This fixes the docs for
REQ
command operator usage example inLocalReplyConfig
andSubstitutionFormatString
protos.$REQ(:path)%
is an invalid command operator, it should be%REQ(:path)%
.Risk Level: N/A
Testing: N/A
Docs Changes: This is a docs change.
Release Notes: N/A
Signed-off-by: Dhi Aurrahman [email protected]