ENT-13879: Expanded syntax-description to include if param is optional#6079
Open
SimonThalvorsen wants to merge 2 commits intocfengine:masterfrom
Open
ENT-13879: Expanded syntax-description to include if param is optional#6079SimonThalvorsen wants to merge 2 commits intocfengine:masterfrom
SimonThalvorsen wants to merge 2 commits intocfengine:masterfrom
Conversation
Contributor
Author
1e71add to
6ad9bba
Compare
olehermanse
reviewed
Apr 22, 2026
olehermanse
reviewed
Apr 22, 2026
olehermanse
reviewed
Apr 22, 2026
6ad9bba to
cf92041
Compare
olehermanse
reviewed
Apr 22, 2026
Member
olehermanse
left a comment
There was a problem hiding this comment.
Looks good overall, just some smaller suggestions.
Member
|
@SimonThalvorsen When this one is done and merged, you should try to adjust cf-promises / cf-agent to also use these minimums and maximums. Right now, before this change, there is no way to know if a call has too many args without actually running it (IIRC). With this new info, cf-promises could detect more errors earlier. (Do this in a separate PR). |
…r func Ticket: ENT-13879 Changelog: title Signed-off-by: Simon Halvorsen <simon.halvorsen@northern.tech>
cf92041 to
b0a55a9
Compare
larsewi
reviewed
Apr 23, 2026
|
|
||
| typedef union { | ||
| struct { int min, max; }; | ||
| int raw[2]; |
Contributor
There was a problem hiding this comment.
Please explain why the int raw[2] is there :)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ticket: ENT-13879
Changelog: title