mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-11 09:04:54 +00:00
- Set check_id and domain for domain diagnostic check - If there is an error, store it in thread local storage. - Drop checking for case when no domain is configured. This is better done after initial setup via notification rather than in diagnostics. Proposed change also will not show the warning if a .local domain is configured (almost always). Keep checking for Check id to deal with older stored diagnostic results. - Call obtain when certificate is not available. Call re-obtain otherwise. This is important for properly calling the post-obtain operations. Signed-off-by: James Valleroy <jvalleroy@mailbox.org> [sunil: Drop check for case when no domain is configured] [sunil: Call either obtain or re-obtain based on current state of certificate] Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>