Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

fix: invert the condition for certs output #505

Merged
merged 1 commit into from
Jan 7, 2025
Merged

fix: invert the condition for certs output #505

merged 1 commit into from
Jan 7, 2025

Conversation

yrobla
Copy link
Contributor

@yrobla yrobla commented Jan 7, 2025

No description provided.

@yrobla yrobla requested review from lukehinds and peppescg January 7, 2025 12:24
@@ -313,7 +313,7 @@ def serve(
ca = CertificateAuthority.get_instance()

certs_check = ca.check_and_ensure_certificates()
if certs_check:
if not certs_check:
Copy link

@lukehinds lukehinds Jan 7, 2025

Choose a reason for hiding this comment

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

Well spotted , may as well rename to certs_exist , it then reads out nicely 'if not certs_exist'

@yrobla yrobla merged commit fe5a19e into main Jan 7, 2025
3 checks passed
@yrobla yrobla deleted the debug_certs branch January 7, 2025 12:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants