Fix the schema generate for array of int#53744
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f2ce37fa0a
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| items: | ||
| type: number | ||
| type: integer |
There was a problem hiding this comment.
Keep template generation working for int arrays
When this schema is rendered for system-probe, tasks/schema/template.py only accepts array item types string, object, or number before raising unknown array of type: ...; changing dns_monitoring_ports to items.type: integer therefore makes schema.template-all fail, and dda inv agent.build reaches that path via generate_config_examples for the system-probe template. Please either teach the template renderer about integer arrays or keep the previous representation until all consumers support it.
Useful? React with 👍 / 👎.
What does this PR do?
Fix the schema generate for array of int