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

replace like with is none check if cn is none #5019

Merged
merged 1 commit into from
Dec 2, 2024
Merged

replace like with is none check if cn is none #5019

merged 1 commit into from
Dec 2, 2024

Conversation

charhate
Copy link
Contributor

File \"/apps/lemur/lemur/certificates/service.py\", line 325, in get_certificates_with_same_cn_with_rotate_on\n    .filter(Certificate.cn.like(cn))

sqlalchemy.exc.ArgumentError: Only '=', '!=', 'is_()', 'isnot()', 'is_distinct_from()', 'isnot_distinct_from()' operators can be used with None/True/False

@charhate charhate merged commit 08e58ae into main Dec 2, 2024
21 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.

3 participants