cloud-init icon indicating copy to clipboard operation
cloud-init copied to clipboard

fix(schema): allow networkv2 schema without top-level key

Open catmsred opened this issue 9 months ago • 0 comments

During validation process, the network schema is extracted without the network key. As such, the schema validation should work either with or without the top level network key. This change updates the schema and adds a unit test to validate.

Proposed Commit Message

fix(schema): allow networkv2 schema without top-level key

During validation process, the network schema is extracted without
the network key.  As such, the schema validation should work
either with or without the top level network key.  This change
updates the schema and adds a unit test to validate.

Additional Context

This was causing failing integrations tests due to false negative schema validation errors.

Test Steps

Checklist

Merge type

  • [x] Squash merge using "Proposed Commit Message"
  • [ ] Rebase and merge unique commits. Requires commit messages per-commit each referencing the pull request number (#<PR_NUM>)

catmsred avatar Apr 30 '24 19:04 catmsred