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

fix: make certificate type case-insensetive #94

Merged
merged 1 commit into from May 3, 2023

Conversation

KhaledEmaraDev
Copy link
Contributor

Description

Fix #93

Signed-off-by: Khaled Emara <mail@KhaledEmara.dev>
Copy link
Member

@viccuad viccuad left a comment

Choose a reason for hiding this comment

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

LGTM! thanks!

This means that we serialize in lowercase, and accept both lowercase and uppercase for serialization, which keeps us backwards compat.

Looked at other alternatives and found deserialize_struct_case_insensitive but I think the current solution is clearer.

Copy link
Member

@flavio flavio left a comment

Choose a reason for hiding this comment

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

LGTM

@flavio flavio merged commit 866bfd6 into kubewarden:main May 3, 2023
5 checks passed
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.

Feature Request: make certificate type case-insensetive
4 participants