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

apis/config,agent: add support for custom config validation. #267

Merged
merged 1 commit into from
Feb 14, 2024

Conversation

klihub
Copy link
Collaborator

@klihub klihub commented Feb 13, 2024

Add an interface for custom validation of configuration data. Update agent to use this interface for extra validation if it is implemented by the configuration data in use.

pkg/agent/agent.go Outdated Show resolved Hide resolved
Add an interface for custom validation of configuration data.
Update agent to use this interface for extra validation if it
is implemented by the configuration data in use.

Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
@klihub klihub force-pushed the devel/config-custom-validator branch from 7096db6 to 23e9b5b Compare February 13, 2024 16:36
Copy link
Collaborator

@marquiz marquiz left a comment

Choose a reason for hiding this comment

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

LGTM

@klihub klihub requested a review from marquiz February 13, 2024 16:39
Copy link
Collaborator

@askervin askervin left a comment

Choose a reason for hiding this comment

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

LGTM

@marquiz marquiz merged commit a3f05f7 into containers:main Feb 14, 2024
2 checks passed
@klihub klihub deleted the devel/config-custom-validator branch February 14, 2024 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants