Skip to content
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

Add template validation #624

Merged
merged 4 commits into from
Apr 21, 2022
Merged

Conversation

monstermunchkin
Copy link
Member

This adds some more template validation, including a new validate sub-command which validates a given template.

This resolves #614.

This adds the DefinitionFilterType type which represents a filter type.
It also adds validation for these values.

Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
This will catch invalid keys in the definition file.

Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
Copy link
Contributor

@tomponline tomponline left a comment

Choose a reason for hiding this comment

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

Thanks!

@stgraber stgraber merged commit 1176400 into lxc:master Apr 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Add template validation
3 participants